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. Thanks for the cool package. I noticed that in case of a DioError the response is not logged.
To fix the error, the following line must be changed.
Hi. Thanks for the cool package. I noticed that in case of a DioError the response is not logged.
To fix the error, the following line must be changed.
dio.dart line 49
change
eventList.updated(event..error = err.toNetworkError());
to
eventList.updated(event..error = err.toNetworkError()..response = err.response?.toResponse());
Could you please release a new version with this fix? We would need the response data in case of a DioError.
Edit I have opened a PullRequest (#11) with the fix.
The text was updated successfully, but these errors were encountered: