mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-06-11 08:44:46 +02:00
Update repeater/main.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
+4
-2
@@ -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 = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user