From 344f61241423ecab89e99f31e534c96c8dfda276 Mon Sep 17 00:00:00 2001 From: Benoit TELLIER Date: Sat, 7 Dec 2024 15:06:12 +0100 Subject: [PATCH] Lower logs for bad mail address --- .../com/linagora/tmail/contact/JCardObjectDeserializer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmail-backend/tmail-third-party/openpaas/src/main/java/com/linagora/tmail/contact/JCardObjectDeserializer.java b/tmail-backend/tmail-third-party/openpaas/src/main/java/com/linagora/tmail/contact/JCardObjectDeserializer.java index b0983566c8..72cd4d815c 100644 --- a/tmail-backend/tmail-third-party/openpaas/src/main/java/com/linagora/tmail/contact/JCardObjectDeserializer.java +++ b/tmail-backend/tmail-third-party/openpaas/src/main/java/com/linagora/tmail/contact/JCardObjectDeserializer.java @@ -62,7 +62,7 @@ public JCardObject deserialize(JsonParser p, DeserializationContext ctxt) try { return Optional.of(new MailAddress(email)); } catch (AddressException e) { - LOGGER.error("Invalid contact mail address '{}' found in JCard Object", email, e); + LOGGER.info("Invalid contact mail address '{}' found in JCard Object", email); return Optional.empty(); } });