1
0
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:
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() { 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);
}, },