From 26f5765c294f5f9cdae2a9e3ad8921ed442691ad Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 15 May 2012 15:57:04 -0400 Subject: [PATCH] Don't show exceptions multiple times --- chrome/content/zotero/xpcom/integration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index 2f2d54dac..b91aa70d8 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -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);