commit 6a8be039d0e333cfd18456e937a109ed7b2c7739
parent 936069165bdcfecc955cd4baaef17010d5a17091
Author: Simon Kornblith <simon@simonster.com>
Date: Wed, 20 Jul 2011 21:55:50 +0000
Revert to throwing parse errors as non-string
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js
@@ -1166,7 +1166,7 @@ Zotero.Translate.Base.prototype = {
["detect"+this._entryFunctionSuffix, "do"+this._entryFunctionSuffix, "exports"],
(translator.file ? translator.file.path : translator.label));
} catch(e) {
- this.complete(false, "Parse error: "+e.toString());
+ this.complete(false, e);
return;
}