mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-11-04 01:23:01 +00:00 
			
		
		
		
	Fix syncer error handling for getStatus (#5914)
This commit is contained in:
		@@ -269,7 +269,7 @@ Syncer.prototype.getStatus = function(callback) {
 | 
				
			|||||||
		// Get login status
 | 
							// Get login status
 | 
				
			||||||
		this.syncadaptor.getStatus(function(err,isLoggedIn,username,isReadOnly,isAnonymous) {
 | 
							this.syncadaptor.getStatus(function(err,isLoggedIn,username,isReadOnly,isAnonymous) {
 | 
				
			||||||
			if(err) {
 | 
								if(err) {
 | 
				
			||||||
				self.logger.alert(err);
 | 
									self.displayError("Get Status Error",err);
 | 
				
			||||||
			} else {
 | 
								} else {
 | 
				
			||||||
				// Set the various status tiddlers
 | 
									// Set the various status tiddlers
 | 
				
			||||||
				self.wiki.addTiddler({title: self.titleIsReadOnly,text: isReadOnly ? "yes" : "no"});
 | 
									self.wiki.addTiddler({title: self.titleIsReadOnly,text: isReadOnly ? "yes" : "no"});
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user