From e287195bf437934bb5c265be551a860907dcb5ee Mon Sep 17 00:00:00 2001 From: "xueli.xue" Date: Mon, 24 Apr 2017 16:45:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E6=BA=90=E8=B7=AF=E5=BE=84=E5=8C=85?= =?UTF-8?q?=E5=90=AB=E7=A9=BA=E6=A0=BC=E6=88=96=E4=B8=AD=E6=96=87=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E8=B5=84=E6=BA=90=E6=96=87=E4=BB=B6=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E4=B8=8D=E5=88=B0=E7=9A=84=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E3=80=82From=20github:zhangqunshi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/xxl/job/admin/core/util/PropertiesUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xxl-job-admin/src/main/java/com/xxl/job/admin/core/util/PropertiesUtil.java b/xxl-job-admin/src/main/java/com/xxl/job/admin/core/util/PropertiesUtil.java index 3c0c7dae..e463e938 100644 --- a/xxl-job-admin/src/main/java/com/xxl/job/admin/core/util/PropertiesUtil.java +++ b/xxl-job-admin/src/main/java/com/xxl/job/admin/core/util/PropertiesUtil.java @@ -32,13 +32,13 @@ public class PropertiesUtil { in = new InputStreamReader(new FileInputStream(url.getPath()), "UTF-8"); prop.load(in); } catch (IOException e) { - logger.error("load {} error!", propertyFileName); + logger.error(e.getMessage(), e); } finally { if (in != null) { try { in.close(); } catch (IOException e) { - logger.error("close {} error!", propertyFileName); + logger.error(e.getMessage(), e); } } }