Sentry: fix tus errors
The first parameter should be the error object, not a general label.
This commit is contained in:
parent
7612722263
commit
5b81346e59
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ export function makeResumableUploadRequest(
|
|||
|
||||
window.store.dispatch(doUpdateUploadProgress({ guid, status: 'error' }));
|
||||
|
||||
analytics.sentryError('tus-upload', err);
|
||||
analytics.sentryError(err, uploader);
|
||||
|
||||
reject(
|
||||
// $FlowFixMe - flow's constructor for Error is incorrect.
|
||||
|
|
Loading…
Reference in a new issue