From 2502d9e041025029eb4f82e881637a5130d6bbe2 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Tue, 28 Nov 2023 14:42:28 -0600 Subject: [PATCH] fix: do not log error on stream disconnect --- src/ApiClient.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ApiClient.ts b/src/ApiClient.ts index 1859f6124..acd29a158 100644 --- a/src/ApiClient.ts +++ b/src/ApiClient.ts @@ -290,10 +290,7 @@ export default class HttpApiClient implements ApiClient { if (isAbortError(err) || abortController.signal.aborted) { return } - console.info( - 'Stream connection closed. Resubscribing', - err.toString() - ) + console.info('Stream connection closed. Resubscribing') if (new Date().getTime() - startTime < 1000) { await sleep(1000)