Commit 7194874b by wutong

调用OMS接口失败,记录详细异常信息

parent a3fbe0eb
...@@ -105,7 +105,7 @@ public class OrderSyncJob extends PointJob { ...@@ -105,7 +105,7 @@ public class OrderSyncJob extends PointJob {
throw new RuntimeException("调用OMS接口同步百伦订单失败, 响应200, 请求参数" + map.toString()); throw new RuntimeException("调用OMS接口同步百伦订单失败, 响应200, 请求参数" + map.toString());
} }
} else { } else {
throw new RuntimeException("调用OMS接口同步百伦订单失败, 响应200, 请求参数" + map.toString()); throw new RuntimeException("调用OMS接口同步百伦订单失败, 响应为null, 请求参数" + map.toString());
} }
//如果PageIndex等于0取总页数, 否则取PageIndex //如果PageIndex等于0取总页数, 否则取PageIndex
return jobPointLog.getPageIndex() == 0 ? totalPages : jobPointLog.getPageIndex(); return jobPointLog.getPageIndex() == 0 ? totalPages : jobPointLog.getPageIndex();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment