Shinsuke Sugaya 11 лет назад
Родитель
Сommit
3af283b89d
1 измененных файлов с 5 добавлено и 3 удалено
  1. 5 3
      src/main/java/jp/sf/fess/helper/CrawlingConfigHelper.java

+ 5 - 3
src/main/java/jp/sf/fess/helper/CrawlingConfigHelper.java

@@ -192,9 +192,11 @@ public class CrawlingConfigHelper implements Serializable {
             StreamUtil.drain(is, os);
             StreamUtil.drain(is, os);
             os.flush();
             os.flush();
         } catch (final IOException e) {
         } catch (final IOException e) {
-            throw new FessSystemException(
-                    "Failed to write a content. configId: " + configIdObj
-                            + ", url: " + url, e);
+            if (!"ClientAbortException".equals(e.getClass().getSimpleName())) {
+                throw new FessSystemException(
+                        "Failed to write a content. configId: " + configIdObj
+                                + ", url: " + url, e);
+            }
         } finally {
         } finally {
             IOUtils.closeQuietly(is);
             IOUtils.closeQuietly(is);
             IOUtils.closeQuietly(os);
             IOUtils.closeQuietly(os);