From ef4cb035bec768d571dbbc6be3dbbd4f6d058293 Mon Sep 17 00:00:00 2001 From: Lloyd Date: Tue, 9 Dec 2025 21:39:58 +0000 Subject: [PATCH] Update repeater/main.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- repeater/main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/repeater/main.py b/repeater/main.py index 11582c0..7812ede 100644 --- a/repeater/main.py +++ b/repeater/main.py @@ -155,8 +155,10 @@ class RepeaterDaemon: Enqueues packets for router processing. """ if self.router: - await self.router.enqueue(packet) - + try: + await self.router.enqueue(packet) + except Exception as e: + logger.error(f"Error enqueuing packet in router: {e}", exc_info=True) def get_stats(self) -> dict: stats = {}