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:
Seun Matt 2020-02-15 01:53:17 +01:00 committed by GitHub
parent f81a203765
commit c4f9d44ef5
1 changed files with 2 additions and 2 deletions

View File

@ -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;