mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
push_notifications: Return after receiving an error.
This commit is contained in:
@@ -792,7 +792,7 @@ def initialize_push_notifications() -> None:
|
|||||||
# administrator of this server, and may be localized to
|
# administrator of this server, and may be localized to
|
||||||
# this endpoint; don't rashly mark push notifications as
|
# this endpoint; don't rashly mark push notifications as
|
||||||
# disabled when they are likely working perfectly fine.
|
# disabled when they are likely working perfectly fine.
|
||||||
pass
|
return
|
||||||
except Exception:
|
except Exception:
|
||||||
# An exception was thrown trying to ask the bouncer service whether we can send
|
# An exception was thrown trying to ask the bouncer service whether we can send
|
||||||
# push notifications or not. There may be certain transient failures that we could
|
# push notifications or not. There may be certain transient failures that we could
|
||||||
|
|||||||
Reference in New Issue
Block a user