mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-05 12:28:02 +00:00
Improve error handling
This commit is contained in:
@@ -172,12 +172,9 @@ TiddlyWebSyncer.prototype.logout = function(options) {
|
||||
},
|
||||
callback: function(err,data) {
|
||||
if(err) {
|
||||
console.log("logout error",err);
|
||||
self.showError("logout error: " + err);
|
||||
} else {
|
||||
self.getStatus(function(isLoggedIn,json) {
|
||||
console.log("after logout, isLoggedIn",isLoggedIn);
|
||||
});
|
||||
console.log("Result of logout",data,httpRequest);
|
||||
self.getStatus();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user