mirror of
https://github.com/rightup/pyMC_Repeater.git
synced 2026-03-28 17:43:06 +01:00
Update repeater/main.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -155,8 +155,10 @@ class RepeaterDaemon:
|
|||||||
Enqueues packets for router processing.
|
Enqueues packets for router processing.
|
||||||
"""
|
"""
|
||||||
if self.router:
|
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:
|
def get_stats(self) -> dict:
|
||||||
stats = {}
|
stats = {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user