| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Duplicate?
Sorry, something went wrong.
Previously the error messages are mostly `[object Object]` after the options get normalized. Use util.inspect to make it more useful.
Refactor the listen option test, add precise error message validation and a few more test cases.
|
Got a conflict after #11667 landed. Rebased. New CI: https://ci.nodejs.org/job/node-test-pull-request/6742/ |
Sorry, something went wrong.
|
Thanks. Squashed and landed in 4775942 |
Sorry, something went wrong.
Previously the error messages are mostly `[object Object]` after the options get normalized. Use util.inspect to make it more useful. Refactor the listen option test, add precise error message validation and a few more test cases. PR-URL: #11693 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Previously the error messages are mostly `[object Object]` after the options get normalized. Use util.inspect to make it more useful. Refactor the listen option test, add precise error message validation and a few more test cases. PR-URL: nodejs#11693 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
| Back | FazBrowse Home | New Git URL |
The first commit uses util.inspect to make the error messages thrown by server.listen more useful.
Before:
After:
The second commit refactors the listen option test, adding precise error message validation and a few more test cases.
Checklist
Affected core subsystem(s)
net, test