commit
70e19030bd
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ class FileReceiver extends EventEmitter {
|
||||||
|
|
||||||
if (xhr.status === 404) {
|
if (xhr.status === 404) {
|
||||||
reject(new Error('The file has expired, or has already been deleted.'));
|
reject(new Error('The file has expired, or has already been deleted.'));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let blob = new Blob([this.response]);
|
let blob = new Blob([this.response]);
|
||||||
|
|
Loading…
Reference in a new issue