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

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

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.23.3
DEFAULT BRANCH: master
Ran 16 Oct 2025 08:19AM UTC
Jobs 1
Files 29
Run time 1min
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

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

0 of 45 new or added lines in 1 file covered. (0.0%)

5560 of 6841 relevant lines covered (81.27%)

299.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
45
71.4
-7.19% app/events/listener.go
Jobs
ID Job ID Ran Files Coverage
1 18554824467.1 16 Oct 2025 08:19AM UTC 29
81.27
GitHub Action Run
Source Files on build 18554824467
  • Tree
  • List 29
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #329
  • PR Base - master (#18521207306)
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