Skip to content

feat: avoid printing unexpected messages#206

Merged
merlimat merged 2 commits intomainfrom
log.improve
Feb 24, 2025
Merged

feat: avoid printing unexpected messages#206
merlimat merged 2 commits intomainfrom
log.improve

Conversation

@mattisonchao
Copy link
Member

Motivation

Improve logs to avoid annoying users.

Modification

  • Change onCompleted logs level to Info and remove completedException.
  • Avoid print stack trace for the onError method because that is an async connection callback. the stack trace is useless.

@merlimat merlimat merged commit c167af3 into main Feb 24, 2025
1 check passed
@merlimat merlimat deleted the log.improve branch February 24, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants