()
| 98 | try { |
| 99 | const reconnect = () => connectPreferredLocalEndpoint(); |
| 100 | return { ws: await connectEndpoint(existing), reconnect }; |
| 101 | } catch (err) { |
| 102 | if (!existing.auth_token) throw err; |
| 103 | // Fall through and start a fresh backend. |
| 104 | } |
| 105 | } |
no outgoing calls
no test coverage detected