From 6292cf26b7ed67dbf5b3219fe57122ce15cfcf97 Mon Sep 17 00:00:00 2001 From: Migatu Date: Tue, 9 Apr 2024 13:26:44 +0200 Subject: [PATCH] More logging --- bot.py | 1 + communication_subroutine.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index cb86740..edd7910 100644 --- a/bot.py +++ b/bot.py @@ -681,6 +681,7 @@ async def check_music(): # trunk-ignore(pylint/R0915) async def check_data_q(): channel = client.get_channel(1062047367337095268) + logger.info("Scan queue") try: data = IN_COMM_Q.get(block=False) await channel.send(f"O. A tak będzie wyglądało coś ciekawego w przyszłości: {data}") diff --git a/communication_subroutine.py b/communication_subroutine.py index 9992b6c..f061ac5 100644 --- a/communication_subroutine.py +++ b/communication_subroutine.py @@ -71,4 +71,4 @@ def comm_subroutine(logger): if __name__ == "__main__": logging_client = logging.getLogger(__name__) - comm_subroutine(logging_client) \ No newline at end of file + comm_subroutine(logging_client)