fix(schedule): 记录设备不存在异常日志

- 捕获并记录运行时异常的详细信息
This commit is contained in:
liuhanqing
2025-12-12 14:25:13 +08:00
parent 0ea3fdcd48
commit 0843a48f2d

View File

@@ -87,7 +87,9 @@ public class Floor2InOutSsjThread implements Runnable {
} else { } else {
log.error("设备不存在 ssjCode{}", ssjCode); log.error("设备不存在 ssjCode{}", ssjCode);
} }
} catch (RuntimeException e) {} } catch (RuntimeException e) {
log.error(e.getMessage(), e);
}
} }
} }
} }