added return
This commit is contained in:
parent
f80c0b5b1d
commit
6ffff34bff
@ -23,6 +23,7 @@ class FileReceiver extends EventEmitter {
|
||||
|
||||
if (xhr.status === 404) {
|
||||
reject(new Error('The file has expired, or has already been deleted.'));
|
||||
return;
|
||||
}
|
||||
|
||||
let blob = new Blob([this.response]);
|
||||
|
Loading…
Reference in New Issue
Block a user