mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-29 01:52:04 +00:00
fix(failover): scope openrouter-specific matchers (#60909)
This commit is contained in:
@@ -279,7 +279,7 @@ export async function executePreparedCliRun(
|
||||
});
|
||||
}
|
||||
const err = stderr || stdout || "CLI failed.";
|
||||
const reason = classifyFailoverReason(err) ?? "unknown";
|
||||
const reason = classifyFailoverReason(err, { provider: params.provider }) ?? "unknown";
|
||||
const status = resolveFailoverStatus(reason);
|
||||
throw new FailoverError(err, {
|
||||
reason,
|
||||
|
||||
Reference in New Issue
Block a user