Skip to content

Commit

Permalink
Merge pull request #494 from xmtp/rygine/update-stream-log
Browse files Browse the repository at this point in the history
do not log error on stream disconnect
  • Loading branch information
rygine authored Nov 28, 2023
2 parents d9bdfc6 + 2502d9e commit 59d5c5b
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 59d5c5b

Please sign in to comment.