dask / distributed

A distributed task scheduler for Dask
https://distributed.dask.org
BSD 3-Clause "New" or "Revised" License
1.58k stars 718 forks source link

Catch OSError instead of StreamClosedError #8937

Closed fjetter closed 1 week ago

fjetter commented 1 week ago

This should fix https://github.com/dask/distributed/issues/8936 since both the tornado StreamClosedError and SSLError are OSErrors and I generally don't see a point why we wouldn't want to catch more generally all OSErrors that could pop up.

fjetter commented 1 week ago

That apparently isn't sufficient...