From 7479499f7803ef9693f9cfb54164a7727c23fa28 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sat, 6 Jul 2024 16:37:33 +0200 Subject: [PATCH] fix: indicate successful handoff in log --- notifications.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/notifications.py b/notifications.py index 5f58e12..38417bc 100644 --- a/notifications.py +++ b/notifications.py @@ -23,3 +23,5 @@ def send_notification(app, target_user, mapname, old_replay, new_replay): if not r.ok: msg = "Error handing off notification to dispatch ({} {})".format(r.status_code, r.content) print(msg, file=sys.stderr) + else: + print("Handed off notification for {} to dispatch".format(target_user), file=sys.stderr)