mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 01:31:08 +00:00
fix: narrow queryTokenHint guard to only auth-specific errors, remove overly broad connect failed check
This commit is contained in:
committed by
Peter Steinberger
parent
39c721d382
commit
281ea15550
@@ -197,10 +197,7 @@ export function renderOverview(props: OverviewProps) {
|
||||
return null;
|
||||
}
|
||||
const lower = props.lastError.toLowerCase();
|
||||
const authFailed =
|
||||
lower.includes("unauthorized") ||
|
||||
lower.includes("connect failed") ||
|
||||
lower.includes("device identity required");
|
||||
const authFailed = lower.includes("unauthorized") || lower.includes("device identity required");
|
||||
if (!authFailed) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user