Logo
Explore Help
Sign In
Mirrors/ProxMenux
1
0
Fork 0
You've already forked ProxMenux
mirror of https://github.com/MacRimi/ProxMenux.git synced 2026-06-13 03:47:00 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
06e6ae417eeeef57ce582bedc958a79ad5ed1e14
ProxMenux/AppImage/ProxMenux-Monitor.AppImage.sha256

2 lines
98 B
Plaintext
Raw Normal View History

Fix notification dispatch: NameError in _dispatch_to_channels (Quiet Hours) `_dispatch_to_channels` does NOT receive the NotificationEvent object — only the rendered primitives (title, body, severity, event_type, …). The Quiet Hours + Daily Digest merge introduced two references to `event.severity` / `event` inside this function, which raised `NameError: name 'event' is not defined` for every event passing through dispatch. The dispatch loop swallows the exception with a broad `except`, so the visible symptom was "the Test button works but no real event ever arrives" — both for community beta users (multiple reports on Telegram, 9-18 May) and verified live on a test host (id 905 in notification_history confirms the pipeline post-fix). - _dispatch_to_channels: read `severity` / `event_type` directly instead of `event.severity` / `event.event_type`. - _should_buffer_for_digest: take (ch_name, severity, event_type) primitives instead of a NotificationEvent. - _buffer_digest_event: same — take (ch_name, event_type, event_group, severity, title, body). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 00:23:29 +02:00
effc478f957e89f272f9e1bb92ae2eddc4a131eea0b4549eb78477164dd982e9 ProxMenux-1.2.1.1-beta.AppImage
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 39ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API