Make openclaw consistent in this file (#8533)
Co-authored-by: stephenchen2025 <schenjobs@gmail.com>main
parent
f04e84f194
commit
d2ff28dda7
|
|
@ -23,10 +23,10 @@ function enhanceBrowserFetchError(url: string, err: unknown, timeoutMs: number):
|
||||||
msgLower.includes("aborterror");
|
msgLower.includes("aborterror");
|
||||||
if (looksLikeTimeout) {
|
if (looksLikeTimeout) {
|
||||||
return new Error(
|
return new Error(
|
||||||
`Can't reach the openclaw browser control service (timed out after ${timeoutMs}ms). ${hint}`,
|
`Can't reach the OpenClaw browser control service (timed out after ${timeoutMs}ms). ${hint}`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return new Error(`Can't reach the openclaw browser control service. ${hint} (${msg})`);
|
return new Error(`Can't reach the OpenClaw browser control service. ${hint} (${msg})`);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function fetchHttpJson<T>(
|
async function fetchHttpJson<T>(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue