File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
rmf/rmf-java-base/src/main/java/io/vrap/rmf/base/client/http Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -109,8 +109,7 @@ public CompletableFuture<ApiHttpResponse<byte[]>> invoke(final ApiHttpRequest re
109109 requestContext .ifPresent (c -> MDC .setContextMap (c .getValue ()));
110110 Throwable cause = throwable instanceof CompletionException ? throwable .getCause () : throwable ;
111111 if (cause instanceof ApiHttpException ) {
112- final ApiHttpResponse <byte []> errorResponse = ((ApiHttpException ) throwable .getCause ())
113- .getResponse ();
112+ final ApiHttpResponse <byte []> errorResponse = ((ApiHttpException ) cause ).getResponse ();
114113 final Level level = exceptionLogEvents .entrySet ()
115114 .stream ()
116115 .filter (classLevelEntry -> classLevelEntry .getKey ()
You can’t perform that action at this time.
0 commit comments