解决异常影像下一个邮箱解析

release
路明慧 2 years ago
parent a5bb4b5acc
commit 16803b2837
  1. 4
      dxhy-core/src/main/java/com/dxhy/core/task/SnEmailGatherTask.java

@ -252,10 +252,10 @@ public class SnEmailGatherTask {
log.info("邮箱采集使用时间:{}",System.currentTimeMillis() - startTime); log.info("邮箱采集使用时间:{}",System.currentTimeMillis() - startTime);
} catch (MessagingException e) { } catch (MessagingException e) {
log.error("邮箱采集邮件解析异常:{}", e); log.error("邮箱采集邮件解析异常:{}", e);
throw new RuntimeException(e);
} catch (IOException e) { } catch (IOException e) {
log.error("邮箱采集IO异常:{}", e); log.error("邮箱采集IO异常:{}", e);
throw new RuntimeException(e); }catch (Exception e){
log.error("邮箱解析异常{}",e);
}finally { }finally {
//更新uid信息 //更新uid信息
if (StringUtils.isNotBlank(uid) && (uids.isEmpty() ||uids.indexOf(uid)>uids.indexOf(maintainVo.getEmailUid()))){ if (StringUtils.isNotBlank(uid) && (uids.isEmpty() ||uids.indexOf(uid)>uids.indexOf(maintainVo.getEmailUid()))){

Loading…
Cancel
Save