Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🥅(backend) add broad exception handling for non-twirp error in recording

lebaudantoinebcb004ab4bcb
diff --git a/src/backend/core/recording/worker/services.py b/src/backend/core/recording/worker/services.py
index a0013edb..166dbb4f 100644
--- a/src/backend/core/recording/worker/services.py
+++ b/src/backend/core/recording/worker/services.py
@@ -41,6 +41,10 @@ class BaseEgressService:
raise WorkerConnectionError(
f"LiveKit client connection error, {e.message}."
) from e
+ except Exception as e:
+ raise WorkerConnectionError(
+ f"Unexpected error during LiveKit client connection: {str(e)}"
+ ) from e
finally:
await lkapi.aclose()