You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the client, I believe you catch ServerDisconnectedError and a couple other errors and propagate as ClientResponseError with __cause__ set as the real error. I think some other place in the code, I'm getting the raw "ServerDisconnectedError". Realized this since I wasn't catching the error.
Usually: ClientResponseError with cause ServerDisconnectedError
Sometimes: ServerDisconnectedError with cause ConnectionResetError
Is this by design?
The text was updated successfully, but these errors were encountered:
ServerDisconnectedError means server dropped connection before completing response.
in second case is second case you probably should get ConnectionResetError
In the client, I believe you catch
ServerDisconnectedError
and a couple other errors and propagate asClientResponseError
with__cause__
set as the real error. I think some other place in the code, I'm getting the raw "ServerDisconnectedError". Realized this since I wasn't catching the error.Usually:
ClientResponseError
with causeServerDisconnectedError
Sometimes:
ServerDisconnectedError
with causeConnectionResetError
Is this by design?
The text was updated successfully, but these errors were encountered: