Skip to content

Commit 74e55d9

Browse files
committed
change log level to warning if input email is invalid
1 parent b001a77 commit 74e55d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

restcomm/restcomm.identity/src/main/java/org/restcomm/connect/identity/EmailValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static boolean isValidEmailFormat ( String email ) {
4545
isValid = true;
4646
} catch (AddressException ex) {
4747
isValid = false;
48-
logger.error("Email " + email + " is invalid");
48+
logger.warn("Email " + email + " is invalid");
4949
}
5050
return isValid;
5151
}

0 commit comments

Comments
 (0)