mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
retry_event: Remove requirement of failed_tries being already there.
This fixes a bug where retries in the signups queue threw an exception.
This commit is contained in:
@@ -522,9 +522,6 @@ def handle_push_notification(user_profile_id, missed_message):
|
||||
apns_payload,
|
||||
gcm_payload)
|
||||
except requests.ConnectionError:
|
||||
if 'failed_tries' not in missed_message:
|
||||
missed_message['failed_tries'] = 0
|
||||
|
||||
def failure_processor(event):
|
||||
# type: (Dict[str, Any]) -> None
|
||||
logging.warning(
|
||||
|
||||
Reference in New Issue
Block a user