kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Fix syncer error handling for getStatus (#5914)
rodzic
3c86cf7d2e
commit
0413c3a38e
|
@ -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"});
|
||||
|
|
Ładowanie…
Reference in New Issue