Unverified Commit 2051038b authored by dailidong's avatar dailidong Committed by GitHub
Browse files

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

parent d75485a1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
        }