removed extraneous captureException
This commit is contained in:
parent
de826afb9b
commit
fef26e083a
|
@ -144,7 +144,7 @@ $(document).ready(function() {
|
||||||
$('#download-btn').attr('hidden', true);
|
$('#download-btn').attr('hidden', true);
|
||||||
$('#expired-img').removeAttr('hidden');
|
$('#expired-img').removeAttr('hidden');
|
||||||
}
|
}
|
||||||
return;
|
throw err;
|
||||||
})
|
})
|
||||||
.then(([decrypted, fname]) => {
|
.then(([decrypted, fname]) => {
|
||||||
const endTime = Date.now();
|
const endTime = Date.now();
|
||||||
|
|
|
@ -133,10 +133,6 @@ class FileSender extends EventEmitter {
|
||||||
);
|
);
|
||||||
xhr.send(fd);
|
xhr.send(fd);
|
||||||
});
|
});
|
||||||
})
|
|
||||||
.catch(err => {
|
|
||||||
Raven.captureException(err);
|
|
||||||
return Promise.reject(err);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue