Merge remote-tracking branch 'origin' into testing
This commit is contained in:
commit
f9ca9f4b87
|
@ -21,7 +21,7 @@ class FileReceiver extends EventEmitter {
|
|||
}
|
||||
};
|
||||
|
||||
xhr.onload = event => {
|
||||
xhr.onload = function(event) {
|
||||
if (xhr.status === 404) {
|
||||
reject(
|
||||
new Error('The file has expired, or has already been deleted.')
|
||||
|
|
Loading…
Reference in New Issue