mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-07 22:09:57 +00:00
refactor: centralize failover error parsing
This commit is contained in:
@@ -50,6 +50,8 @@ export function resolveFailoverStatus(
|
||||
return 401;
|
||||
case "timeout":
|
||||
return 408;
|
||||
case "format":
|
||||
return 400;
|
||||
default:
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user