TF-4136 refactor(logging): replace logError with logWarning for non-critical cases
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ class GetIdentityCacheOnWebInteractor {
|
||||
|
||||
yield Right(GetIdentityCacheOnWebSuccess(result));
|
||||
} catch (exception) {
|
||||
logError("$runtimeType::execute: $exception");
|
||||
logWarning("$runtimeType::execute: $exception");
|
||||
yield Left(GetIdentityCacheOnWebFailure(exception: exception));
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ class RemoveIdentityCacheOnWebInteractor {
|
||||
|
||||
yield Right(RemoveIdentityCacheOnWebSuccess());
|
||||
} catch (exception) {
|
||||
logError("$runtimeType::execute: $exception");
|
||||
logWarning("$runtimeType::execute: $exception");
|
||||
yield Left(RemoveIdentityCacheOnWebFailure(exception: exception));
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ class SaveIdentityCacheOnWebInteractor {
|
||||
identityCache: identityCache);
|
||||
yield Right(SaveIdentityCacheOnWebSuccess());
|
||||
} catch (exception) {
|
||||
logError("$runtimeType::execute: $exception");
|
||||
logWarning("$runtimeType::execute: $exception");
|
||||
yield Left(SaveIdentityCacheOnWebFailure(exception: exception));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user