Revert to throwing parse errors as non-string
This commit is contained in:
parent
936069165b
commit
6a8be039d0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue