刘俊驰 8 months ago
parent
commit
9fd082037f

+ 1 - 1
toolset/toolset-payment/src/main/java/com/yonge/toolset/payment/util/DistributedLock.java

@@ -189,7 +189,7 @@ public class DistributedLock {
         } catch (BizException e) {
             throw e;
         } catch (Exception e) {
-            e.printStackTrace();
+            log.error("error",e);
             throw new RuntimeException("任务执行异常");
         } finally {
             unlock(lock);