Skip to content

Commit e4e73a3

Browse files
committed
Update participant.py
1 parent 32bab8e commit e4e73a3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

livekit-rtc/livekit/rtc/participant.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,6 @@ async def _handle_rpc_method_invocation(
457457
logger.exception(
458458
f"Uncaught error returned by RPC handler for {method}. "
459459
"Returning APPLICATION_ERROR instead. "
460-
f"Original error: {error}"
461460
)
462461
response_error = RpcError._built_in(RpcError.ErrorCode.APPLICATION_ERROR)
463462

@@ -473,8 +472,8 @@ async def _handle_rpc_method_invocation(
473472
res = FfiClient.instance.request(req)
474473

475474
if res.rpc_method_invocation_response.error:
476-
message = res.rpc_method_invocation_response.error
477-
logger.exception(f"error sending rpc method invocation response: {message}")
475+
err = res.rpc_method_invocation_response.error
476+
logger.error(f"error sending rpc method invocation response: {err}")
478477

479478
async def set_metadata(self, metadata: str) -> None:
480479
"""

0 commit comments

Comments
 (0)