From 0413c3a38eb755ddacfaaf33c8900f0f56f3c75d Mon Sep 17 00:00:00 2001 From: Joshua Fontany Date: Fri, 30 Jul 2021 08:21:02 -0700 Subject: [PATCH] Fix syncer error handling for getStatus (#5914) --- core/modules/syncer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/syncer.js b/core/modules/syncer.js index d5eae1f48..14dc4f572 100644 --- a/core/modules/syncer.js +++ b/core/modules/syncer.js @@ -269,7 +269,7 @@ Syncer.prototype.getStatus = function(callback) { // Get login status this.syncadaptor.getStatus(function(err,isLoggedIn,username,isReadOnly,isAnonymous) { if(err) { - self.logger.alert(err); + self.displayError("Get Status Error",err); } else { // Set the various status tiddlers self.wiki.addTiddler({title: self.titleIsReadOnly,text: isReadOnly ? "yes" : "no"});