### Eclipse Workspace Patch 1.0 #P magnolia-module-dms Index: src/main/java/info/magnolia/module/dms/DMSDownloadServlet.java =================================================================== --- src/main/java/info/magnolia/module/dms/DMSDownloadServlet.java (revision 50377) +++ src/main/java/info/magnolia/module/dms/DMSDownloadServlet.java (working copy) @@ -56,6 +56,7 @@ import org.apache.commons.io.IOUtils; import org.apache.commons.lang.StringUtils; +import org.apache.commons.lang.exception.ExceptionUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -78,6 +79,16 @@ try { process(request, response); } + catch (IOException ioe) { + Throwable wrappedException = ExceptionUtils.getCause(ioe); + if (!((wrappedException != null) && (StringUtils.equalsIgnoreCase(ioe.getClass().getName(), + "org.apache.catalina.connector.ClientAbortException")))) { + // log error message ONLY if it's not a client abort. + log.error("IOExeption during download", ioe); + } else { + log.debug("ClientAbortException during download"); + } + } catch (Exception e) { log.error("error during download", e); }