websocket
websocket copied to clipboard
Handle errcheck warnings
What type of PR is this? (check all applicable)
- [ ] Refactor
- [ ] Feature
- [x] Bug Fix
- [ ] Optimization
- [ ] Documentation Update
- [ ] Go Version Update
- [ ] Dependency Update
Description
The package ignored errors from net.Conn Set*Deadline in a few places. Update the package to return these errors to the caller.
Ignore all other errors reported by errcheck. These errors are safe to ignore because
- The function is making a best effort to cleanup while handling another error.
- The function call is guaranteed to succeed.
- The error is ignored in a test.
Related Tickets & Documents
- Related Issue #
- Closes #
Added/updated tests?
- [ ] Yes
- [x] No, and this is why: covered by existing tests
- [ ] I need help with writing tests
Run verifications and test
- [ ]
make verifyis passing - [ ]
make testis passing
@canelohill I had to manually resolve a conflict. Can you check and make sure that fits what you think should happen?
The PR looks good after merges.
@canelohill can’t seem to merge it says there’s conflicts
The PR should merge clean now.
Cheers thanks for that. I was surprised cause usually I get the opportunity to resolve conflicts manually but this time there was no option.
hi🫡