Commit d1c2126
committed
fix(api): broaden exception handling in ducking bot callback
Catch all exceptions in _on_data_received() instead of only
JSONDecodeError and AttributeError, preventing UnicodeDecodeError or
TypeError from crashing the LiveKit event loop.1 parent 641f0e9 commit d1c2126
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments