Swallowing the CommClosedError
when the stream handler closes may remove relevant exception information
#8683
Labels
CommClosedError
when the stream handler closes may remove relevant exception information
#8683
In
distributed/distributed/core.py
Lines 1027 to 1033 in 5708bdf
we always swallow the
CommClosedError
without even logging it. This can be problematic because we use this error both for the happy and the sad path of stream handler closing. For example, inconvert_stream_closed_error
(distributed/distributed/comm/tcp.py
Lines 130 to 143 in 5708bdf
CommClosedError
but will subsequently ignore it inhandle_stream
.Ideally, we could differentiate between when stream handler closing is expected and when it's unexpected and log more information in the latter case.
The text was updated successfully, but these errors were encountered: