From d408e8653c00642fb02e9feb556e94acdd3ef834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Tue, 4 May 2021 23:03:57 +0200 Subject: [PATCH] Return instead of trhow (#9094) --- src/state/connection-mixin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/connection-mixin.ts b/src/state/connection-mixin.ts index 2d1c437117..cda1c797ec 100644 --- a/src/state/connection-mixin.ts +++ b/src/state/connection-mixin.ts @@ -84,7 +84,7 @@ export const connectionMixin = >( err.error?.code === ERR_CONNECTION_LOST && serviceCallWillDisconnect(domain, service) ) { - throw err; + return { context: { id: "" } }; } if (__DEV__) { // eslint-disable-next-line no-console