1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00

add more logs

This commit is contained in:
Tim Daubenschütz 2015-08-03 18:02:21 +02:00
parent 5d92716726
commit 30d84af7fb
2 changed files with 3 additions and 3 deletions

View File

@ -256,6 +256,7 @@ var ReactS3FineUploader = React.createClass({
resolve(res.key);
})
.catch((err) => {
console.logGlobal(err, false, this.state.filesToUpload);
reject(err);
});
});
@ -293,8 +294,8 @@ var ReactS3FineUploader = React.createClass({
resolve(res);
})
.catch((err) => {
console.logGlobal(err, false, this.state.filesToUpload);
reject(err);
console.logGlobal(err);
});
});
},
@ -346,7 +347,7 @@ var ReactS3FineUploader = React.createClass({
}
})
.catch((err) => {
console.logGlobal(err);
console.logGlobal(err, false, this.state.filesToUpload);
let notification = new GlobalNotificationModel(err.message, 'danger', 5000);
GlobalNotificationActions.appendGlobalNotification(notification);
});

View File

@ -9489,7 +9489,6 @@ qq.s3.XhrUploadHandler = function(spec, proxy) {
result.success,
function failure(reason, xhr) {
console.logGlobal(reason + 'in chunked.combine', false, {
uploadId,
etagMap,