mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +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) {
|
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);
|
let notification = new GlobalNotificationModel(this.props.defaultErrorMessage, 'danger', 5000);
|
||||||
GlobalNotificationActions.appendGlobalNotification(notification);
|
GlobalNotificationActions.appendGlobalNotification(notification);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user