-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fix: fix ws not support throw option #2616
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2616 +/- ##
==========================================
- Coverage 75.59% 75.42% -0.18%
==========================================
Files 202 205 +3
Lines 15992 16292 +300
==========================================
+ Hits 12089 12288 +199
- Misses 3151 3238 +87
- Partials 752 766 +14
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Thanks for the PR @fatelei 🙇
I have left some comments - you will also need to fix your linters
@codebien as I mention the fuller fix for this will require for error codes to be moved around and is arguably a bigger change. Likely one too touchy and big for an outside contributor :(.
I don't think we will be removing this API any time soon so any fixes for it are welcome as long as they aren't overly complex and not actually all the useful. We will definitely prefer to push the newer API. But the old one is still used by people so we will need to support at least until we have actually released a stable version of the new one IMO.
@fatelei you can run in local |
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.
LGTM
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.
LGTM! Thanks for getting this through 🙇
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.
Thanks @fatelei for the effort 🙏
I have marked this as "breaking change" as the default value for |
What is the pr for ?
Fix issue #2247
Test
With
throw = false
With
throw = true