Slightly better handling of errors when loading account status
This commit is contained in:
parent
a4b810f16b
commit
d3c79c7865
@ -24,9 +24,11 @@ function checkAccountStatus(callback) {
|
||||
callback("badstate");
|
||||
}
|
||||
} else {
|
||||
router.back();
|
||||
app.dialog.alert(resp.msg, "Error");
|
||||
}
|
||||
}, function (err) {
|
||||
router.back();
|
||||
app.dialog.alert("Something went wrong. Try again later.", "Error");
|
||||
});
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user