mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
Having just thrown an exception into the thread, it is often useful to know _what_ was the slow code that we interrupted. Raising a bare TimeoutExpired here obscures that information, as any `exc_info` will end there. Examine the thread for any exception information, and use that to re-raise. This exception information is not guaranteed to exist -- if the thread didn't respond to the exception in time, or caught it, for instance.
3.1 KiB
3.1 KiB