tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TOMEE-1619) Add exception message to Alerts
Date Sat, 01 Aug 2015 18:48:04 GMT

    [ https://issues.apache.org/jira/browse/TOMEE-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14650497#comment-14650497
] 

Alex commented on TOMEE-1619:
-----------------------------

Thanks for the update. I will check.

> 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
>              Labels: newbie
>             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)

Mime
View raw message