Don't show exceptions multiple times

This commit is contained in:
Simon Kornblith 2012-05-15 15:57:04 -04:00
parent caad9aa4d6
commit 26f5765c29

View file

@ -657,7 +657,7 @@ Zotero.Integration = new function() {
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;
}
Zotero.debug(e);