Catch ConnectionHandler errors (Connection is canceled)

I have this simple code to add a connection handler; it’s working, but whenever it tries to reconnect and fails (onReconnectStarted → onReconnectFailed), it ends up throwing an error, and I can’t catch the error to handle it. What am I missing?

This happens every time when the tab enter in a “standby” mode

Hello @Pedro_Fritsch,

Could you please share what does network tab shows when the reconnect is attempted?