Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
push_notifications: Give full stack information on an exception.
Alex Vandiverfd1774dcba3b
diff --git a/zerver/lib/push_notifications.py b/zerver/lib/push_notifications.pyindex dd13f29ea79..a65ecb6afdf 100644--- a/zerver/lib/push_notifications.py+++ b/zerver/lib/push_notifications.py@@ -893,6 +893,7 @@ def handle_push_notification(user_profile_id: int, missed_message: Dict[str, Any"Could not find UserMessage with message_id %s and user_id %s",missed_message["message_id"],user_profile_id,+ exc_info=True,)returndiff --git a/zerver/tests/test_push_notifications.py b/zerver/tests/test_push_notifications.pyindex adc1fad7e55..aa9a1959f6f 100644--- a/zerver/tests/test_push_notifications.py+++ b/zerver/tests/test_push_notifications.py@@ -1176,6 +1176,7 @@ class HandlePushNotificationTest(PushNotificationTest):"Could not find UserMessage with message_id %s and user_id %s",message_id,self.user_profile.id,+ exc_info=True,)mock_push_notifications.assert_called_once()