Skip to content

Conversation

@HarshithaKP
Copy link
Member

Convert hard assertion into a throw with a useful error
message in src/module_wrap.cc

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Feb 21, 2020
@HarshithaKPHarshithaKPforce-pushed the module_wrap_handle_null_ptr branch from c06e445 to baa5f1aCompareFebruary 21, 2020 08:39
@HarshithaKP
Copy link
MemberAuthor

While going through the file found one more similar location, fixed it.

@HarshithaKP
Copy link
MemberAuthor

Surprisingly make format-cpp did not fix the error. Fixed it in one more commit.

Copy link
Member

@addaleaxaddaleax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with docs added

@HarshithaKPHarshithaKPforce-pushed the module_wrap_handle_null_ptr branch from 870a3cb to 53c0050CompareMarch 5, 2020 07:17
Convert hard assertion into a throw with a useful error message in src/module_wrap.cc
@HarshithaKPHarshithaKPforce-pushed the module_wrap_handle_null_ptr branch from 8594430 to 8069174CompareMarch 5, 2020 07:22
@HarshithaKP
Copy link
MemberAuthor

I rebased and commits squashed

@nodejs-github-bot
Copy link
Collaborator

@addaleaxaddaleax added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 5, 2020
@nodejs-github-bot
Copy link
Collaborator

@addaleax
Copy link
Member

Landed in e9fa5ae

addaleax pushed a commit that referenced this pull request Mar 9, 2020
Convert hard assertion into a throw with a useful error message in src/module_wrap.cc. PR-URL: #31899 Reviewed-By: Anna Henningsen <[email protected]>
@addaleaxaddaleax closed this Mar 9, 2020
MylesBorins pushed a commit that referenced this pull request Mar 9, 2020
Convert hard assertion into a throw with a useful error message in src/module_wrap.cc. PR-URL: #31899 Reviewed-By: Anna Henningsen <[email protected]>
@MylesBorinsMylesBorins mentioned this pull request Mar 10, 2020
@targostargos added backport-blocked-v12.x and removed author ready PRs that have at least one approval, no pending requests for changes, and a CI started. backport-blocked-v12.x labels Apr 20, 2020
targos pushed a commit to targos/node that referenced this pull request Apr 25, 2020
Convert hard assertion into a throw with a useful error message in src/module_wrap.cc. PR-URL: nodejs#31899 Reviewed-By: Anna Henningsen <[email protected]>
targos pushed a commit that referenced this pull request Apr 28, 2020
Convert hard assertion into a throw with a useful error message in src/module_wrap.cc. PR-URL: #31899 Reviewed-By: Anna Henningsen <[email protected]>
@targostargos mentioned this pull request May 2, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++Issues and PRs that require attention from people who are familiar with C++.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@HarshithaKP@nodejs-github-bot@addaleax@mscdex@targos