From 708dd9eadab07345778314db57ab98cbdc77998d Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 30 四月 2020 11:55:37 +0800 Subject: [PATCH] 爬单重复消息bug修改,商品详情过滤大淘客推荐语 --- fanli/src/main/java/com/yeshi/fanli/log/LogHelper.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/log/LogHelper.java b/fanli/src/main/java/com/yeshi/fanli/log/LogHelper.java index 165beae..1d721f3 100644 --- a/fanli/src/main/java/com/yeshi/fanli/log/LogHelper.java +++ b/fanli/src/main/java/com/yeshi/fanli/log/LogHelper.java @@ -171,11 +171,12 @@ ps.flush(); ps.close(); } catch (Exception e1) { + } finally { try { out.close(); - } catch (IOException e1) { + } catch (Exception e1) { e1.printStackTrace(); } } -- Gitblit v1.8.0