mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-01 21:00:21 +00:00
Core: update shared gateway models
This commit is contained in:
@@ -454,7 +454,7 @@ export function createNodesTool(options?: {
|
||||
invokeParams = JSON.parse(invokeParamsJson);
|
||||
} catch (err) {
|
||||
const message = err instanceof Error ? err.message : String(err);
|
||||
throw new Error(`invokeParamsJson must be valid JSON: ${message}`);
|
||||
throw new Error(`invokeParamsJson must be valid JSON: ${message}`, { cause: err });
|
||||
}
|
||||
}
|
||||
const invokeTimeoutMs = parseTimeoutMs(params.invokeTimeoutMs);
|
||||
|
||||
Reference in New Issue
Block a user