mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-01 15:52:28 -07:00
@@ -567,7 +567,7 @@ def publish_notifications(db, mqtt_client):
|
||||
try:
|
||||
payload = json.loads(payload_str) # Deserialize JSON string
|
||||
except Exception as e:
|
||||
mylog('minimal', [f"[{pluginName}] ⚠ ERROR decoding JSON for notification GUID {notification["GUID"]}: {e}"])
|
||||
mylog('minimal', [f"[{pluginName}] ⚠ ERROR decoding JSON for notification GUID {notification['GUID']}: {e}"])
|
||||
continue # skip this notification
|
||||
else:
|
||||
# fallback generic payload (like webhook does)
|
||||
|
||||
Reference in New Issue
Block a user