mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fix WebStatFilter
This commit is contained in:
@@ -140,7 +140,7 @@ public class WebStatFilter implements Filter {
|
||||
if (uriStat == null) {
|
||||
int status = responseWrapper.getStatus();
|
||||
if (status == HttpServletResponse.SC_NOT_FOUND) {
|
||||
String errorUrl = contextPath + "/error_" + status;
|
||||
String errorUrl = contextPath + "error_" + status;
|
||||
uriStat = webAppStat.getURIStat(errorUrl, true);
|
||||
} else {
|
||||
uriStat = webAppStat.getURIStat(requestURI, true);
|
||||
|
||||
Reference in New Issue
Block a user