kvmd-media server

This commit is contained in:
Maxim Devaev
2024-12-18 06:39:18 +02:00
parent 596334735e
commit af2ee26a2f
25 changed files with 419 additions and 18 deletions

View File

@@ -171,7 +171,7 @@ def create_deadly_task(name: str, coro: Coroutine) -> asyncio.Task:
except asyncio.CancelledError:
pass
except Exception:
logger.exception("Unhandled exception in deadly task, killing myself ...")
logger.exception("Unhandled exception in deadly task %r, killing myself ...", name)
pid = os.getpid()
if pid == 1:
os._exit(1) # Docker workaround # pylint: disable=protected-access