From 1717bad09535408fa277de4359bae354fdca50ba Mon Sep 17 00:00:00 2001 From: MagicTheDev <82341152+MagicTheDev@users.noreply.github.com> Date: Sat, 14 Dec 2024 16:47:10 -0600 Subject: [PATCH] Update track.py --- bot/giveaway/track.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bot/giveaway/track.py b/bot/giveaway/track.py index 4213c7b..7f9e0bf 100644 --- a/bot/giveaway/track.py +++ b/bot/giveaway/track.py @@ -93,11 +93,3 @@ async def main(): finally: logger.info("Shutting down Kafka producer...") await producer.stop() - - -# Run the script -if __name__ == "__main__": - try: - asyncio.run(main()) - except Exception as e: - logger.critical(f"Critical error while running the tracker: {e}")