1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-10 21:22:35 +01:00

removed extraneous captureException

This commit is contained in:
Danny Coates 2017-08-02 15:53:52 -07:00
parent de826afb9b
commit fef26e083a
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
2 changed files with 1 additions and 5 deletions

View File

@ -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();

View File

@ -133,10 +133,6 @@ class FileSender extends EventEmitter {
); );
xhr.send(fd); xhr.send(fd);
}); });
})
.catch(err => {
Raven.captureException(err);
return Promise.reject(err);
}); });
} }
} }