You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2016/08/08 07:46:20 UTC

[jira] [Commented] (TOMEE-1897) CdiResourceProvider masks critical error in InjectionException

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

Romain Manni-Bucau commented on TOMEE-1897:
-------------------------------------------

[~andyg] should be logged only IMO since it would give some details to the client we don't want to propagate IMHO. We can also remove the current entity to make it more silent for the same reason but agree a good logger.error() should replace it.

> CdiResourceProvider masks critical error in InjectionException
> --------------------------------------------------------------
>
>                 Key: TOMEE-1897
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1897
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>    Affects Versions: 1.7.4, 7.0.1
>         Environment: NA
>            Reporter: Andy Gumbrecht
>            Priority: Critical
>             Fix For: 1.7.5, 7.0.2
>
>
> openejb-cxf-rs:
> /org/apache/openejb/server/cxf/rs/CdiResourceProvider.java:277
> The InjectionException details should be propagated or logged. Currently the WebApplicationException contains no information on the underlying error., making error tracing very difficult 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)