TF-4136 refactor(logging): replace logError with logWarning for non-critical cases

This commit is contained in:
dab246
2026-01-02 12:18:38 +07:00
committed by Dat H. Pham
parent 73dcb6067c
commit a23d15a9ca
160 changed files with 382 additions and 360 deletions
@@ -60,7 +60,7 @@ class CreateDefaultMailboxInteractor {
);
return mailboxUpdatedRecord.$1;
} catch (e) {
logError('CreateDefaultMailboxInteractor::_updateRoleToListMailbox:Exception = $e');
logWarning('CreateDefaultMailboxInteractor::_updateRoleToListMailbox:Exception = $e');
return mailboxes;
}
}
@@ -49,7 +49,7 @@ class DeleteMultipleMailboxInteractor {
currentMailboxState: currentMailboxState));
}
} catch (e) {
logError('DeleteMultipleMailboxInteractor::execute(): exception: $e');
logWarning('DeleteMultipleMailboxInteractor::execute(): exception: $e');
yield Left<Failure, Success>(DeleteMultipleMailboxFailure(e));
}
}