Log as warning instead of error

This commit is contained in:
JC Brand 2017-10-31 18:06:39 +01:00
parent 098c8e545c
commit 0acaaeb2a0

View File

@ -381,8 +381,8 @@
onBookmarksReceivedError (deferred, iq) {
window.sessionStorage.setItem(this.fetched_flag, true);
_converse.log('Error while fetching bookmarks', Strophe.LogLevel.ERROR);
_converse.log(iq, Strophe.LogLevel.DEBUG);
_converse.log('Error while fetching bookmarks', Strophe.LogLevel.WARN);
_converse.log(iq.outerHTML, Strophe.LogLevel.DEBUG);
if (!_.isNil(deferred)) {
return deferred.reject();
}