Make openclaw consistent in this file (#8533)
Co-authored-by: stephenchen2025 <schenjobs@gmail.com>
This commit is contained in:
@@ -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>(
|
||||||
|
|||||||
Reference in New Issue
Block a user