mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-30 16:03:35 +00:00
chore(lint): enable stricter error rules
This commit is contained in:
@@ -219,7 +219,7 @@ export async function runNodeDaemonStatus(opts: NodeDaemonStatusOptions = {}) {
|
||||
service.readCommand(process.env).catch(() => null),
|
||||
service
|
||||
.readRuntime(process.env)
|
||||
.catch((err): GatewayServiceRuntime => ({ status: "unknown", detail: String(err) })),
|
||||
.catch((err: unknown): GatewayServiceRuntime => ({ status: "unknown", detail: String(err) })),
|
||||
]);
|
||||
|
||||
const payload = {
|
||||
|
||||
Reference in New Issue
Block a user