Close upload on error
This commit is contained in:
parent
c9e7954446
commit
73e14c7a3a
@ -88,6 +88,7 @@ var lychee = {
|
|||||||
|
|
||||||
if (typeof data==="string"&&data.substring(0, 7)==="Error: ") {
|
if (typeof data==="string"&&data.substring(0, 7)==="Error: ") {
|
||||||
lychee.error(data.substring(7, data.length), params, data);
|
lychee.error(data.substring(7, data.length), params, data);
|
||||||
|
upload.close(true);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user