添加打印堆栈信息的日志

release
路明慧 2 years ago
parent b4079f431a
commit 6cf077fef3
  1. 2
      order-management-consumer/src/main/java/com/dxhy/order/consumer/modules/manager/service/impl/PushInvoiceServiceImpl.java

@ -676,6 +676,7 @@ public class PushInvoiceServiceImpl implements PushInvoiceService {
//多路径推送,返回数据异常后继续推送
String error=String.format("%s推送企业异常,异常信息:%s",LOGGER_MSG,e);
log.error(error);
log.error("堆栈信息打印{}",e);
errorMsg = e.getMessage();
r = processPushFail(fpTsMqData, pushUrl, errorMsg, shList);
sendPushDelay = true;
@ -686,6 +687,7 @@ public class PushInvoiceServiceImpl implements PushInvoiceService {
} catch (Exception e) {
String error=String.format("%s推送异常,异常信息:%s",LOGGER_MSG,e);
log.error(error);
log.error("堆栈信息打印{}",e);
errorMsg = e.getMessage();
r = processPushFail(fpTsMqData, pushUrl, errorMsg, shList);
sendPushDelay = true;

Loading…
Cancel
Save