mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
fix(timer): 修复 F2 代码质量问题
- HostServiceBase: move Log::error before throw so it actually executes - TimerBase: remove empty comment block
This commit is contained in:
@@ -93,9 +93,8 @@ class HostServiceBase
|
||||
Log::info("已将 {$staleCount} 个过期节点标记为离线。");
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
throw $e;
|
||||
Log::error("节点 [{$nodeId}] 心跳更新失败: " . $e->getMessage());
|
||||
Log::error($e);
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user