You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/01/31 10:54:40 UTC

[isis] branch master updated: ISIS-2158: more static resource exception suppression

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 4723925  ISIS-2158: more static resource exception suppression
4723925 is described below

commit 47239253fec10e51f3e98ee5197153394e506785
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri Jan 31 11:54:32 2020 +0100

    ISIS-2158: more static resource exception suppression
---
 .../apache/isis/core/webapp/diagnostics/IsisLogOnExceptionFilter.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/webapp/src/main/java/org/apache/isis/core/webapp/diagnostics/IsisLogOnExceptionFilter.java b/core/webapp/src/main/java/org/apache/isis/core/webapp/diagnostics/IsisLogOnExceptionFilter.java
index 57e1375..227a93a 100644
--- a/core/webapp/src/main/java/org/apache/isis/core/webapp/diagnostics/IsisLogOnExceptionFilter.java
+++ b/core/webapp/src/main/java/org/apache/isis/core/webapp/diagnostics/IsisLogOnExceptionFilter.java
@@ -63,6 +63,7 @@ public class IsisLogOnExceptionFilter implements Filter {
             if(ex instanceof IOException) {
                 val url = ((HttpServletRequest) request).getRequestURL().toString();
                 if(url.endsWith(".css")
+                        || url.endsWith(".js")
                         || url.endsWith(".woff2")) {
                     throw ex; // don't log
                 }