Shut up notification listener on false triggers (#760)

За-йо-бал трещать ложными уведомлениями. Использует подкостыль из (https://github.com/openvk/openvk/issues/694#issuecomment-1229165601)[комментария].
This commit is contained in:
Vitaly Orekhov 2022-10-27 12:44:46 +03:00 committed by GitHub
parent 6b2a6ae8cd
commit d2b2e41328
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ async function setupNotificationListener() {
} catch(rejection) {
if(rejection.message !== "Nothing to report") {
console.error(rejection);
break;
return;
}
console.info("No new notifications discovered... Redialing event broker");