TF-4136 Add config Sentry
This commit is contained in:
@@ -82,7 +82,7 @@ class AuthorizationInterceptors extends QueuedInterceptorsWrapper {
|
||||
}
|
||||
|
||||
@override
|
||||
void onError(DioError err, ErrorInterceptorHandler handler) async {
|
||||
void onError(DioException err, ErrorInterceptorHandler handler) async {
|
||||
logWarning('AuthorizationInterceptors::onError(): DIO_ERROR = $err');
|
||||
try {
|
||||
final requestOptions = err.requestOptions;
|
||||
@@ -159,7 +159,7 @@ class AuthorizationInterceptors extends QueuedInterceptorsWrapper {
|
||||
);
|
||||
if (e is ServerError || e is TemporarilyUnavailable) {
|
||||
return super.onError(
|
||||
DioError(requestOptions: err.requestOptions, error: e),
|
||||
DioException(requestOptions: err.requestOptions, error: e),
|
||||
handler,
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user