Skip to content

[Bug]: Feishu - exec stderr output sent as user-visible reply, covers actual agent response #94360

Description

@xunx33

Description

When an \exec\ command produces stderr output (e.g., PowerShell warnings like \Copy-Item ... failed), the stderr content is sent as a visible reply message in Feishu, covering up the agent's actual response.

Steps to Reproduce

  1. Run an \exec\ command that produces stderr output (e.g., a failed file copy)
  2. Observe the Feishu chat

Actual Behavior

The stderr warning appears as a Feishu message (with ⚠️ icon), replacing or covering the agent's intended reply. See attached screenshot.

Expected Behavior

stderr output should only appear in Gateway logs, not as user-visible messages in Feishu. The agent's actual reply should be delivered normally.

Environment

  • OpenClaw version: 2026.6.6
  • Channel: Feishu
  • OS: Windows 11

Screenshot

The stderr message (⚠️ Copy-Item ... failed) appears as a Feishu reply with the agent/model info footer, completely replacing the intended response.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions