www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 3af526f112a5188e1f7e4f255712f23852eef8cf
parent 5b00b8b98bce97d1cb493e8c6d435714bf7e1760
Author: Simon Kornblith <simon@simonster.com>
Date:   Wed, 16 May 2012 00:18:41 -0400

Fix bubbling errors in connectors under certain circumstances

Diffstat:
Mchrome/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 @@ -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()");