mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
log file list to sentry on error
This commit is contained in:
parent
63b763dd25
commit
765969c5b3
@ -356,7 +356,10 @@ var ReactS3FineUploader = React.createClass({
|
||||
},
|
||||
|
||||
onError(id, name, errorReason) {
|
||||
Raven.captureException(errorReason, false, this.state.filesToUpload);
|
||||
|
||||
console.logGlobal(errorReason, false, this.state.filesToUpload);
|
||||
this.state.uploader.cancelAll();
|
||||
|
||||
let notification = new GlobalNotificationModel(this.props.defaultErrorMessage, 'danger', 5000);
|
||||
GlobalNotificationActions.appendGlobalNotification(notification);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user