mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
add more logs
This commit is contained in:
parent
5d92716726
commit
30d84af7fb
@ -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);
|
||||
});
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user