Skip to content

Commit

Permalink
Merge pull request #210 from xmtp/resub-log-level
Browse files Browse the repository at this point in the history
Friendlier log level when resubscribing
  • Loading branch information
snormore authored Nov 2, 2022
2 parents 4e4bdbc + 9099f93 commit 0e05514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export default class ApiClient {
if (isAbortError(err)) {
return
}
console.warn('Stream connection lost. Resubscribing', err)
console.info('Stream connection lost. Resubscribing', err)
// If connection was initiated less than 1 second ago, sleep for a bit
// TODO: exponential backoff + eventually giving up
if (+new Date() - startTime < 1000) {
Expand Down

0 comments on commit 0e05514

Please sign in to comment.