Don't show exceptions multiple times
This commit is contained in:
parent
caad9aa4d6
commit
26f5765c29
1 changed files with 1 additions and 1 deletions
|
@ -657,7 +657,7 @@ Zotero.Integration = new function() {
|
||||||
|
|
||||||
if(!message && typeof(e) == "object") message = "\n\n"+e.toString();
|
if(!message && typeof(e) == "object") message = "\n\n"+e.toString();
|
||||||
|
|
||||||
if(message != "\n\nExceptionAlreadyDisplayed") {
|
if(message.indexOf("ExceptionAlreadyDisplayed") !== -1) {
|
||||||
displayError = Zotero.getString("integration.error.generic")+message;
|
displayError = Zotero.getString("integration.error.generic")+message;
|
||||||
}
|
}
|
||||||
Zotero.debug(e);
|
Zotero.debug(e);
|
||||||
|
|
Loading…
Reference in a new issue