commit 7a34d09f58153348bcf205bc748096e8075556d3
parent 5235dcfa9f74081226eaa335c4b113d6c18d7200
Author: Simon Kornblith <simon@simonster.com>
Date: Wed, 20 Jul 2011 21:29:21 +0000
Show actual error message as a string as well
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
@@ -1169,7 +1169,7 @@ Zotero.Translate.Base.prototype = {
this._sandboxManager.eval("var translatorInfo = "+translator.code,
["detect"+this._entryFunctionSuffix, "do"+this._entryFunctionSuffix, "exports"]);
} catch(e) {
- this.complete(false, "Parse error");
+ this.complete(false, "Parse error: "+e.toString());
return;
}