Improve bridge error handling
hensm opened this issue · 0 comments
hensm commented
Error handling for CastClient#connect
is possibly incorrect and broken depending on how error events are emitted. Rejected promise is not handled by consumers and causes the bridge to crash which can under certain conditions result in error loops when the bridge is restarted.
fx_cast/bridge/src/bridge/components/cast/client.ts
Lines 67 to 70 in a9406fd