Alex created TOMEE-1619:
---------------------------

             Summary: Add exception message to Alerts
                 Key: TOMEE-1619
                 URL: https://issues.apache.org/jira/browse/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
(v6.3.4#6332)

Reply via email to