commit 198850576ac8026b68e07eb2009c07416686b9e3
parent a549b9a40719e68eedce64f81178a0f729fc20c9
Author: Simon Kornblith <simon@simonster.com>
Date: Wed, 30 May 2012 00:27:02 -0400
Fix redundant error logging
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js
@@ -1246,7 +1246,6 @@ Zotero.Integration.Fields.prototype.get = function(callback) {
callback(this._fields);
}
} catch(e) {
- Zotero.logError(e);
Zotero.Integration.handleError(e, this._doc);
}
return;
@@ -1296,7 +1295,6 @@ Zotero.Integration.Fields.prototype._retrieveFields = function() {
} else if(topic === "fields-progress" && me.progressCallback) {
me.progressCallback((data ? parseInt(data, 10)*(3/4) : null));
} else if(topic === "fields-error") {
- Zotero.logError(data);
Zotero.Integration.handleError(data, me._doc);
}
}, QueryInterface:XPCOMUtils.generateQI([Components.interfaces.nsIObserver, Components.interfaces.nsISupports])});