fix(schedule): 记录设备不存在异常日志
- 捕获并记录运行时异常的详细信息
This commit is contained in:
@@ -87,7 +87,9 @@ public class Floor2InOutSsjThread implements Runnable {
|
||||
} else {
|
||||
log.error("设备不存在 ssjCode{}", ssjCode);
|
||||
}
|
||||
} catch (RuntimeException e) {}
|
||||
} catch (RuntimeException e) {
|
||||
log.error(e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user