badkaktus/gorocket

Better error handling

OscarVanL opened this issue · 2 comments

Hey,

It appears the client does not handle error staus codes or error responses.
Instead it just sets a flag Success: false and returns no error.

This makes it quite hard for me to figure out what I am doing wrong with my request for it to fail every time, as there are no error logs, status codes, or error response bodies anywhere in the error or response types.

It would be nice if there was some way of retrieving extra error information.

Thanks.

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

This issue was closed because it has been stalled for 5 days with no activity.