Show actual error message as a string as well

This commit is contained in:
Simon Kornblith 2011-07-20 21:29:21 +00:00
parent 5235dcfa9f
commit 7a34d09f58

View file

@ -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;
}