mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
add logging for complete as well
This commit is contained in:
parent
4bf21e1afd
commit
ae8bc674d2
@ -354,6 +354,12 @@ var ReactS3FineUploader = React.createClass({
|
||||
onComplete(id, name, res, xhr) {
|
||||
// there has been an issue with the server's connection
|
||||
if(xhr.status === 0) {
|
||||
|
||||
console.logGlobal(new Error('Complete was called but there wasn\t a success'), false, {
|
||||
files: this.state.filesToUpload,
|
||||
chunks: this.state.chunks
|
||||
});
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user