From 59ceec0111b9655747508b4473c24632d6bb5128 Mon Sep 17 00:00:00 2001 From: extreme4all <40169115+extreme4all@users.noreply.github.com> Date: Mon, 26 Aug 2024 22:01:43 +0200 Subject: [PATCH] warn if in debug test env --- src/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.py b/src/main.py index fe06bef..4ada6fa 100644 --- a/src/main.py +++ b/src/main.py @@ -149,6 +149,7 @@ async def process_data(receive_queue: Queue, error_queue: Queue): player_id = message.player.id MIN_PLAYER_ID, MAX_PLAYER_ID = 0, 300 if not (MIN_PLAYER_ID < player_id <= MAX_PLAYER_ID): + logger.warn(f"{settings.ENV}, skipping: {player_id}") continue # batch message