mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +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() {
|
||||
Raven.captureException('react-fineuploader-error');
|
||||
onError(id, name, errorReason) {
|
||||
Raven.captureException(errorReason);
|
||||
let notification = new GlobalNotificationModel(this.props.defaultErrorMessage, 'danger', 5000);
|
||||
GlobalNotificationActions.appendGlobalNotification(notification);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user