tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex (JIRA)" <>
Subject [jira] [Created] (TOMEE-1619) Add exception message to Alerts
Date Sat, 01 Aug 2015 01:39:04 GMT
Alex created TOMEE-1619:

             Summary: Add exception message to Alerts
                 Key: TOMEE-1619
             Project: TomEE
          Issue Type: Improvement
          Components: TomEE Core Server
    Affects Versions: 7.0.0
            Reporter: Alex
            Priority: Trivial
             Fix For: 7.0.0

The method org.apache.tomee.installer.Alerts.addError(String, Exception) only logs the passed
message, but not the exception message.

This is tricky, because you don't know which exception in the chain actually carries a useful
message. I think just Exception.getMessage() is the best we can do?

Also I noticed this is only performing an stdout. Should we also write to the container log?

This message was sent by Atlassian JIRA

View raw message