-
Notifications
You must be signed in to change notification settings - Fork 129
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
chore(dot/network): log the errors from stream.Close()
#2779
chore(dot/network): log the errors from stream.Close()
#2779
Conversation
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## development #2779 +/- ##
===============================================
- Coverage 63.03% 62.81% -0.22%
===============================================
Files 213 213
Lines 27021 27032 +11
===============================================
- Hits 17033 16981 -52
- Misses 8436 8495 +59
- Partials 1552 1556 +4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 💯
Just change those %w
-> %s
so it logs correctly the stringified error 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎖️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great stuff
🎉 This PR is included in version 0.7.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Changes
added the log of the errors returned from
stream.Close()
.Tests
go test -tags integration github.com/ChainSafe/gossamer
Issues
Fixed #2376
Primary Reviewer
@timwu20