This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user