mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 06:11:24 +00:00
fix: stabilize gateway config tests + tool schema
This commit is contained in:
@@ -59,7 +59,7 @@ export async function resolveMessageChannelSelection(params: {
|
||||
const normalized = normalizeMessageChannel(params.channel);
|
||||
if (normalized) {
|
||||
if (!isKnownChannel(normalized)) {
|
||||
throw new Error(`Unknown channel: ${normalized}`);
|
||||
throw new Error(`Unknown channel: ${String(normalized)}`);
|
||||
}
|
||||
return {
|
||||
channel: normalized as MessageChannelId,
|
||||
|
||||
Reference in New Issue
Block a user