mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
middleware: Pass unhandled API exceptions through to the test suite.
This results in more useful stack traces in failing tests. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
2b35abba5d
commit
345ed1d09d
@@ -1631,7 +1631,7 @@ class WebhookTestCase(ZulipTestCase):
|
||||
complete_event_type is not None
|
||||
and all_event_types is not None
|
||||
and complete_event_type not in all_event_types
|
||||
):
|
||||
): # nocoverage
|
||||
raise Exception(
|
||||
f"""
|
||||
Error: This test triggered a message using the event "{complete_event_type}", which was not properly
|
||||
|
||||
Reference in New Issue
Block a user