mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-05 00:32:13 -08:00
Improve error handling
This commit is contained in:
parent
e194aed449
commit
ecd45e2732
1 changed files with 2 additions and 5 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue