TF-2597 Remove log response in interceptor
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -81,12 +81,6 @@ class AuthorizationInterceptors extends QueuedInterceptorsWrapper {
|
|||||||
super.onRequest(options, handler);
|
super.onRequest(options, handler);
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
|
||||||
void onResponse(Response response, ResponseInterceptorHandler handler) {
|
|
||||||
log('AuthorizationInterceptors::response(): STATUS_CODE = ${response.statusCode} | DATA = ${response.data}');
|
|
||||||
super.onResponse(response, handler);
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void onError(DioError err, ErrorInterceptorHandler handler) async {
|
void onError(DioError err, ErrorInterceptorHandler handler) async {
|
||||||
logError('AuthorizationInterceptors::onError(): DIO_ERROR = $err | METHOD = ${err.requestOptions.method}');
|
logError('AuthorizationInterceptors::onError(): DIO_ERROR = $err | METHOD = ${err.requestOptions.method}');
|
||||||
|
|||||||
Reference in New Issue
Block a user