improved exception handling in response log filter (#8715)
* example code for BAEL-3749 * added live test * added live test * improved exception handling in response log filter
This commit is contained in:
parent
f81a203765
commit
c4f9d44ef5
|
@ -49,8 +49,8 @@ public class ResponseLogFilter extends ZuulFilter {
|
||||||
|
|
||||||
context.setResponseBody(responseData);
|
context.setResponseBody(responseData);
|
||||||
}
|
}
|
||||||
catch (Throwable e) {
|
catch (Exception e) {
|
||||||
e.printStackTrace();
|
logger.error("error occurred at response log filter", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue