commit 26f5765c294f5f9cdae2a9e3ad8921ed442691ad
parent caad9aa4d6e0d1d58a04daf786c75ae8ab1fc38b
Author: Simon Kornblith <simon@simonster.com>
Date: Tue, 15 May 2012 15:57:04 -0400
Don't show exceptions multiple times
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);