From e113ec6623c738b97b153f2cdcbfce11e8d52141 Mon Sep 17 00:00:00 2001 From: standlove Date: Fri, 9 Dec 2022 15:36:40 +0800 Subject: [PATCH] ignore io exception --- .../direct/services/view/ajax/CustomFormatAJAXResult.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/main/com/topcoder/direct/services/view/ajax/CustomFormatAJAXResult.java b/src/java/main/com/topcoder/direct/services/view/ajax/CustomFormatAJAXResult.java index 13c195198..e9d2e03a0 100644 --- a/src/java/main/com/topcoder/direct/services/view/ajax/CustomFormatAJAXResult.java +++ b/src/java/main/com/topcoder/direct/services/view/ajax/CustomFormatAJAXResult.java @@ -308,7 +308,7 @@ private static void writeDataAndClose(InputStream in, OutputStream out) throws I } // flush output stream out.flush(); - } catch (SocketException e) { + } catch (IOException e) { // The client side has aborted or closed connection } finally { // close the input stream