added sentry
This commit is contained in:
parent
6d8330992d
commit
50714d35a5
12 changed files with 1065 additions and 961 deletions
|
@ -2,6 +2,9 @@ const FileReceiver = require('./fileReceiver');
|
|||
const { notify } = require('./utils');
|
||||
const $ = require('jquery');
|
||||
|
||||
const Raven = window.Raven;
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#download-progress').hide();
|
||||
$('#send-file').click(() => {
|
||||
|
@ -59,6 +62,10 @@ $(document).ready(function() {
|
|||
a.download = fname;
|
||||
document.body.appendChild(a);
|
||||
a.click();
|
||||
})
|
||||
.catch(err => {
|
||||
Raven.captureException(err);
|
||||
return Promise.reject(err);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue