添加日志打印

release
路明慧 2 years ago
parent 46e5131ef8
commit d0f49ff19b
  1. 2
      dxhy-core/src/main/java/com/dxhy/core/task/SnEmailGatherTask.java

@ -360,6 +360,8 @@ public class SnEmailGatherTask {
store = session.getStore("pop3"); store = session.getStore("pop3");
store.connect(emailName, password); store.connect(emailName, password);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
log.error("连接邮箱异常信息{}",e.getMessage());
try { try {
store.close(); store.close();
} catch (MessagingException ex) { } catch (MessagingException ex) {

Loading…
Cancel
Save