Fix bubbling errors in connectors under certain circumstances

This commit is contained in:
Simon Kornblith 2012-05-16 00:18:41 -04:00
parent 5b00b8b98b
commit 3af526f112

View file

@ -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()");