From 3af526f112a5188e1f7e4f255712f23852eef8cf Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 16 May 2012 00:18:41 -0400 Subject: [PATCH] Fix bubbling errors in connectors under certain circumstances --- chrome/content/zotero/xpcom/translation/translate.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index e3e4e9b6d6..612d5793ea 100644 --- a/chrome/content/zotero/xpcom/translation/translate.js +++ b/chrome/content/zotero/xpcom/translation/translate.js @@ -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()");