Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: avoid printing unexpected messages #206

Merged
merged 2 commits into from
Feb 24, 2025
Merged

feat: avoid printing unexpected messages #206

merged 2 commits into from
Feb 24, 2025

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