mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +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) {
|
onComplete(id, name, res, xhr) {
|
||||||
// there has been an issue with the server's connection
|
// there has been an issue with the server's connection
|
||||||
if(xhr.status === 0) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user