format
This commit is contained in:
parent
15ac0e1d49
commit
dd0ab710de
4 changed files with 14 additions and 18 deletions
|
@ -19,9 +19,7 @@ class FileReceiver extends EventEmitter {
|
|||
|
||||
xhr.onload = function(event) {
|
||||
if (xhr.status === 404) {
|
||||
reject(
|
||||
new Error('notfound')
|
||||
);
|
||||
reject(new Error('notfound'));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue