mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
When exception is raised inside an exception handler, Python 3 helpfully prints both tracebacks separated by “During handling of the above exception, another exception occurred:”. But when we’re using an exception handler to retry the same operation, multiple tracebacks are just noise. Suppress the earlier one using PEP 409 syntax. Signed-off-by: Anders Kaseorg <anders@zulip.com>
13 KiB
13 KiB