This commit is contained in:
Danny Coates 2017-07-25 12:08:37 -07:00
parent 15ac0e1d49
commit dd0ab710de
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
4 changed files with 14 additions and 18 deletions

View file

@ -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;
}