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) {
if (e.message) {
Zotero.debug("Error processing feed from " + this.url);
Zotero.debug(e);
Zotero.logError("Error processing feed from " + this.url + ":\n\n" + e);
}
this._set('_feedLastCheckError', e.message || 'Error processing feed');
}