Fix bubbling errors in connectors under certain circumstances
This commit is contained in:
parent
5b00b8b98b
commit
3af526f112
1 changed files with 2 additions and 6 deletions
|
@ -1054,12 +1054,8 @@ Zotero.Translate.Base.prototype = {
|
|||
try {
|
||||
this._sandboxManager.sandbox["do"+this._entryFunctionSuffix].apply(null, this._getParameters());
|
||||
} catch(e) {
|
||||
if(this._parentTranslator) {
|
||||
throw(e);
|
||||
} else {
|
||||
this.complete(false, e);
|
||||
return false;
|
||||
}
|
||||
this.complete(false, e);
|
||||
return false;
|
||||
}
|
||||
|
||||
this.decrementAsyncProcesses("Zotero.Translate#translate()");
|
||||
|
|
Loading…
Reference in a new issue