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
Hi @e5l, I was taking a look at the issue and figured out that there are a lot of exceptions that could get thrown here (especially because the request() method in the try block does json parsing and more). I think one better approach could be that we catch a generic Throwable that we are doing now but instead of throwing an Error, we can instead throw an IllegalStateException with the a message like Error connecting to transport and pass the original error throwable along with it. What do you think about this approach?
Hey, @Skrilltrax, thanks for the investigation. I would also include the transport information in the message (and some unit tests as well). In general, it should be better than what we have right now :)
Consider handling specific exception in the Client.connect:
The text was updated successfully, but these errors were encountered: