Skip to content
Snippets Groups Projects
Commit dc462fbb authored by srosse's avatar srosse
Browse files

OO-761: reduce the visibility of the ClientAbortException

parent cbf27ecd
No related branches found
No related tags found
No related merge requests found
...@@ -207,7 +207,12 @@ public class ServletUtil { ...@@ -207,7 +207,12 @@ public class ServletUtil {
FileUtils.closeSafely(in); FileUtils.closeSafely(in);
FileUtils.closeSafely(bis); FileUtils.closeSafely(bis);
FileUtils.closeSafely(out); FileUtils.closeSafely(out);
log.error("client browser probably abort when serving media resource", e); String className = e.getClass().getSimpleName();
if("ClientAbortException".equals(className)) {
log.warn("client browser probably abort when serving media resource", e);
} else {
log.error("client browser probably abort when serving media resource", e);
}
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment