mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 09:50:31 +01:00
add error reason to fineuploader raven
This commit is contained in:
parent
4c99632616
commit
0f658b9a71
@ -349,8 +349,8 @@ var ReactS3FineUploader = React.createClass({
|
|||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
onError() {
|
onError(id, name, errorReason) {
|
||||||
Raven.captureException('react-fineuploader-error');
|
Raven.captureException(errorReason);
|
||||||
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