xiongzhu 4 years ago
parent
commit
9da52295e1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/java/com/izouma/nineth/service/OrderService.java

+ 2 - 1
src/main/java/com/izouma/nineth/service/OrderService.java

@@ -591,7 +591,8 @@ public class OrderService {
         orders.parallelStream().forEach(o -> {
             try {
                 cancel(o);
-            } catch (Exception ignored) {
+            } catch (Exception e) {
+                log.error("取消订单错误 " + o.getId(), e);
             }
         });
     }