1
0
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:
Tim Daubenschütz 2015-07-28 16:24:18 +02:00
parent 4c99632616
commit 0f658b9a71

View File

@ -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);
},