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
+1 -1
View File
@@ -70,7 +70,7 @@ class Domain with EquatableMixin {
InternetAddress(value);
return true;
} catch (e) {
logError('Domain::validIPAddress: Exception = $e');
logWarning('Domain::validIPAddress: Exception = $e');
return false;
}
}
+1 -1
View File
@@ -100,7 +100,7 @@ class MailAddress with EquatableMixin {
throw AddressException('No domain found at position ${pos + 1} in "$address"');
}
} catch (e) {
logError('MailAddress::validate: Exception = $e');
logWarning('MailAddress::validate: Exception = $e');
if (e is AddressException) {
rethrow;
} else {