-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
[Bug]: Telegram polling startup diagnostic is logged at error level #82957
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.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.maintainerMaintainer-authored PRMaintainer-authored PR
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.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.maintainerMaintainer-authored PRMaintainer-authored PR
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
Telegram polling startup emits the normal
[telegram][diag] polling cycle started ...diagnostic through the error output path, making normal startup look like a gateway error.Steps to reproduce
Expected behavior
Normal polling lifecycle diagnostics should be emitted through the normal log channel, not the error channel. Only actual Telegram monitor failures should use the error channel.
Actual behavior
The observed startup diagnostic is a normal lifecycle line but is rendered with error styling in console output.
OpenClaw version
NOT_ENOUGH_INFO
Operating system
NOT_ENOUGH_INFO
Install method
NOT_ENOUGH_INFO
Model
NOT_ENOUGH_INFO
Provider / routing chain
NOT_ENOUGH_INFO
Additional provider/model setup details
NOT_ENOUGH_INFO
Logs, screenshots, and evidence
Impact and severity
Affected: Telegram polling users/operators watching gateway logs.
Severity: Medium; normal startup looks like a gateway error and can trigger false alarms.
Frequency: Observed 4 matching startup diagnostic lines; at least one was rendered as an error.
Consequence: Operators can misread healthy Telegram polling startup as a failure.
Additional information
Current code path:
extensions/telegram/src/monitor.tswired the polling monitor logger toruntime.error/console.error, whileextensions/telegram/src/polling-session.tssends the normalpolling cycle startedlifecycle diagnostic through that logger.