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);
|
||||
}
|
||||
catch (Throwable e) {
|
||||
e.printStackTrace();
|
||||
catch (Exception e) {
|
||||
logger.error("error occurred at response log filter", e);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue