Make ErrorPageFilter.getDescription protected
Make `ErrorPageFilter#getDescription` `protected` instead of `private` to be able to customize the details for the request logged in case of an error. Fixes gh-7380 Closes gh-7393
This commit is contained in:
parent
7daf69a393
commit
004528777f
|
|
@ -185,7 +185,7 @@ public class ErrorPageFilter implements Filter, ErrorPageRegistry {
|
|||
request.getRequestDispatcher(path).forward(request, response);
|
||||
}
|
||||
|
||||
private String getDescription(HttpServletRequest request) {
|
||||
protected String getDescription(HttpServletRequest request) {
|
||||
return "[" + request.getServletPath()
|
||||
+ (request.getPathInfo() == null ? "" : request.getPathInfo()) + "]";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue