未验证 提交 2051038b 编写于 作者: D dailidong 提交者: GitHub

add log, don't swallow exception info (#1877)

上级 d75485a1
......@@ -84,6 +84,7 @@ public class MailUtils {
MAIL_TEMPLATE = new Template("alert_mail_template", isr, cfg);
} catch (Exception e) {
MAIL_TEMPLATE = null;
logger.error(e.getMessage(),e);
} finally {
IOUtils.closeQuietly(isr);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册