1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Improve error handling

This commit is contained in:
Jeremy Ruston 2012-11-17 20:31:30 +00:00
parent e194aed449
commit ecd45e2732

View File

@ -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();
}
}
});