Revert to throwing parse errors as non-string

This commit is contained in:
Simon Kornblith 2011-07-20 21:55:50 +00:00
parent 936069165b
commit 6a8be039d0

View file

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