Skip to content

Commit

Permalink
fix: do not log error on stream disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Nov 28, 2023
1 parent d9bdfc6 commit 2502d9e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/ApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2502d9e

Please sign in to comment.