TF-4136 refactor(logging): replace logError with logWarning for non-critical cases
This commit is contained in:
@@ -66,7 +66,7 @@ class CleanUpPublicAssetsInteractor {
|
||||
yield Right(CleanUpPublicAssetsSuccessState());
|
||||
|
||||
} catch (exception) {
|
||||
logError('CleanUpPublicAssetsInteractor::execute():error: $exception');
|
||||
logWarning('CleanUpPublicAssetsInteractor::execute():error: $exception');
|
||||
yield Left(CleanUpPublicAssetsFailureState(exception: exception));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ class CreatePublicAssetInteractor {
|
||||
identityId: identityId);
|
||||
yield Right<Failure, Success>(CreatePublicAssetSuccessState(publicAsset));
|
||||
} catch (exception) {
|
||||
logError('CreatePublicAssetInteractor::execute():error: $exception');
|
||||
logWarning('CreatePublicAssetInteractor::execute():error: $exception');
|
||||
|
||||
if (exception is PublicAssetQuotaExceededException) {
|
||||
yield Left<Failure, Success>(PublicAssetOverQuotaFailureState(
|
||||
|
||||
@@ -26,7 +26,7 @@ class DeletePublicAssetsInteractor {
|
||||
publicAssetIds: publicAssetIds);
|
||||
yield Right(DeletePublicAssetsSuccessState());
|
||||
} catch (exception) {
|
||||
logError('DeletePublicAssetsInteractor::execute():error: $exception');
|
||||
logWarning('DeletePublicAssetsInteractor::execute():error: $exception');
|
||||
yield Left(DeletePublicAssetsFailureState(exception: exception));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user