You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2018/09/10 15:59:26 UTC
[cxf] 03/03: Fixing previous commit
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch 3.2.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 5728deb82e856b4b795ce52b4adcc616e0e3b928
Author: Romain Manni-Bucau <rm...@gmail.com>
AuthorDate: Fri Sep 7 14:56:28 2018 +0200
Fixing previous commit
(cherry picked from commit e95413cbafbfa23fd2c82f6009166cd398e9caa6)
---
.../jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
index eb570fd..cee4a59 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/InjectionUtils.java
@@ -367,7 +367,7 @@ public final class InjectionUtils {
} catch (IllegalAccessException ex) {
reportServerError("METHOD_ACCESS_FAILURE", method.getName());
} catch (InvocationTargetException ex) {
- LOG.severe(ex.getCause().getMessage(), ex.getCause());
+ LOG.log(Level.SEVERE, ex.getCause().getMessage(), ex);
Response r = JAXRSUtils.convertFaultToResponse(ex.getCause(), inMessage);
if (r != null) {
inMessage.getExchange().put(Response.class, r);