chibenwa commented on code in PR #2491:
URL: https://github.com/apache/james-project/pull/2491#discussion_r1833607876


##########
server/protocols/jmap-rfc-8621/src/main/scala/org/apache/james/jmap/method/MailboxSetUpdatePerformer.scala:
##########
@@ -75,6 +75,9 @@ object MailboxSetUpdatePerformer {
       case e: InvalidPatchException =>
         LOGGER.info("Unsupported patch in Mailbox/set update: {}", 
e.getMessage)
         SetError.invalidPatch(SetErrorDescription(s"${e.cause}"))
+      case e if e.isInstanceOf[IllegalArgumentException] && e.getMessage == 
"Domain parts ASCII chars must be a-z A-Z 0-9 - or _" =>
+        LOGGER.info("Unsupported patch in Mailbox/set update: {}", 
e.getMessage)

Review Comment:
   ```suggestion
           LOGGER.info("Unsupported patch in Mailbox/set update", e)
   ```
   
   Otherwise stacktrace is lost...



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org
For additional commands, e-mail: notifications-h...@james.apache.org

Reply via email to