-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
feat: Add silentErrorReplies / suppressAgentErrors support for WhatsApp channel #59782
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Priority
None yet
Feature Request
Problem
When the primary model (e.g., Anthropic Claude) is rate-limited or overloaded and the fallback model also fails, OpenClaw sends a generic error message to the user:
This is jarring for non-technical users (e.g., business contacts using WhatsApp) who have no idea what "/new" means or why the bot broke. The Telegram channel has
silentErrorRepliesbut WhatsApp has no equivalent.Current behavior
buildExternalRunFailureText()inagent-runner.runtimealways returns the error messagemessages.suppressToolErrorsonly covers tool-level warnings, not agent run failuressilentErrorRepliesonly exists in the Telegram config pathDesired behavior
A config option (either global under
messagesor per-channel) to suppress or customize the agent failure message on WhatsApp. Options could include:messages.silentErrorReplies: true— suppress error messages entirely (silent fail)messages.errorMessage: "..."— custom error text instead of the generic onesilentErrorRepliessupport (WhatsApp, Signal, etc.)The agent should ideally retry silently and only surface errors to the operator (logs), not the end user.
Context
Environment