• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / tg-spam / 18554824467 / 1
81%
master: 83%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.23.3
DEFAULT BRANCH: master
Ran 16 Oct 2025 08:19AM UTC
Files 29
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Oct 2025 08:14AM UTC coverage: 81.275% (-0.5%) from 81.753%
18554824467.1

Pull #329

github

paskal
fix(admin): propagate command errors and critical DB issues to admin chat

Addresses the issue where /spam, /ban, and /warn command failures were only
logged to stdout/stderr but not visible in admin chat, making it difficult
to detect misconfigurations like readonly database or permission issues.

Changes:
- Modified procSuperReply() to send error messages to admin chat when
  /spam, /ban, or /warn commands fail, following the same pattern as
  MsgHandler and InlineCallbackHandler
- Added isCriticalDBError() helper to detect serious database errors
  (readonly database, permission denied, disk full, locked database, etc.)
- Enhanced procEvents() to notify admin chat when critical database errors
  occur during AddMessage() or AddSpam() operations
- Error messages are sent with standard notification to ensure admin
  visibility

This ensures admins are immediately notified when misconfiguration issues
prevent proper bot operation, rather than requiring manual log inspection.

Fixes #326
Pull Request #329: fix(admin): propagate command errors and critical DB issues to admin chat

5560 of 6841 relevant lines covered (81.27%)

299.57 hits per line

Source Files on job 18554824467.1
  • Tree
  • List 29
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 18554824467
  • b61b8343 on github
  • Prev Job for on fix-admin-error-propagation (#18521207306.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc