This commit is contained in:
2020-07-10 15:38:02 +00:00
parent d0dbc01408
commit 39651cdf6f
3 changed files with 14 additions and 1 deletions

View File

@@ -24,6 +24,16 @@ export default {
if (pollingInterval > MAX_POLLING_INTERVAL) {
pollingInterval = MAX_POLLING_INTERVAL;
}
//could be a expected issue such as server closed for maintenance
//so no need to freak out if that's the case
if (error.code) {
//is it a normal issue?
if (error.code == 2001) {
return;
}
}
//Nope, totally unexpected, alert the user
window.$gz.errorHandler.handleGeneralError(
"Error checking for notifications",
"notifypoll",