Open
Description
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, in convert_stream_closed_error
(
distributed/distributed/comm/tcp.py
Lines 130 to 143 in 5708bdf
CommClosedError
but will subsequently ignore it in handle_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.