Don't crash app when rate limiting is triggered
This commit is contained in:
parent
27ca27c5be
commit
151a01ef56
@ -28,8 +28,7 @@
|
|||||||
navigator.notification.alert(data.msg, null, "Error", 'Dismiss');
|
navigator.notification.alert(data.msg, null, "Error", 'Dismiss');
|
||||||
}
|
}
|
||||||
}, "json").fail(function () {
|
}, "json").fail(function () {
|
||||||
navigator.notification.alert("Could not connect to the server. Try again later.", null, "Error", 'Dismiss');
|
navigator.notification.alert("Unable to request code. Try again in a few seconds.", null, "Error", 'Dismiss');
|
||||||
openscreen("homeloaderror");
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user