mirror of
https://github.com/FAUSheppy/tmnf-replay-server.git
synced 2025-12-06 07:01:37 +01:00
fix: indicate successful handoff in log
This commit is contained in:
@@ -23,3 +23,5 @@ def send_notification(app, target_user, mapname, old_replay, new_replay):
|
|||||||
if not r.ok:
|
if not r.ok:
|
||||||
msg = "Error handing off notification to dispatch ({} {})".format(r.status_code, r.content)
|
msg = "Error handing off notification to dispatch ({} {})".format(r.status_code, r.content)
|
||||||
print(msg, file=sys.stderr)
|
print(msg, file=sys.stderr)
|
||||||
|
else:
|
||||||
|
print("Handed off notification for {} to dispatch".format(target_user), file=sys.stderr)
|
||||||
|
|||||||
Reference in New Issue
Block a user