Log feed errors to console

This commit is contained in:
Dan Stillman 2016-04-25 00:49:27 -04:00
parent a05134e903
commit ebb2f1667d

View file

@ -463,8 +463,7 @@ Zotero.Feed.prototype._updateFeed = Zotero.Promise.coroutine(function* () {
} }
catch (e) { catch (e) {
if (e.message) { if (e.message) {
Zotero.debug("Error processing feed from " + this.url); Zotero.logError("Error processing feed from " + this.url + ":\n\n" + e);
Zotero.debug(e);
} }
this._set('_feedLastCheckError', e.message || 'Error processing feed'); this._set('_feedLastCheckError', e.message || 'Error processing feed');
} }