Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion livekit-rtc/livekit/rtc/_ffi_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

import signal
import asyncio
import sys
from contextlib import ExitStack
import ctypes
import importlib.resources
Expand Down Expand Up @@ -166,7 +167,7 @@ def ffi_event_callback(

return # no need to queue the logs
elif which == "panic":
logger.critical("Panic: %s", event.panic.message)
print("FFI Panic: ", event.panic.message, file=sys.stderr)
# We are in a unrecoverable state, terminate the process
os.kill(os.getpid(), signal.SIGTERM)
return
Expand Down
Loading