diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/gitblit/DownloadZipServlet.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/DownloadZipServlet.java b/src/main/java/com/gitblit/DownloadZipServlet.java index 8a4a710d..7cdc54b8 100644 --- a/src/main/java/com/gitblit/DownloadZipServlet.java +++ b/src/main/java/com/gitblit/DownloadZipServlet.java @@ -16,7 +16,6 @@ package com.gitblit;
import java.io.IOException;
-import java.net.SocketException;
import java.text.MessageFormat;
import java.text.ParseException;
import java.util.Date;
@@ -177,7 +176,7 @@ public class DownloadZipServlet extends HttpServlet { }
response.flushBuffer();
- } catch (SocketException t) {
+ } catch (IOException t) {
String message = t.getMessage() == null ? "" : t.getMessage().toLowerCase();
if (message.contains("reset") || message.contains("broken pipe")) {
logger.error("Client aborted zip download: " + message);
|