Skip to content

src: add error formatting support - #37598

Merged
devsnek merged 1 commit into
nodejs:masterfrom
devsnek:better-native-errors
Mar 9, 2021
Merged

src: add error formatting support#37598
devsnek merged 1 commit into
nodejs:masterfrom
devsnek:better-native-errors

Conversation

@devsnek

Copy link
Copy Markdown
Member

This enables the use of format strings in our native error functions. It also includes some light usage in ModuleWrap.

@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Mar 4, 2021
@devsnek
devsnekforce-pushed the better-native-errors branch from 79a1cce to db938cfCompareMarch 4, 2021 04:29
Comment threadsrc/node_errors.h Outdated
@devsnek
devsnekforce-pushed the better-native-errors branch from db938cf to caaffe6CompareMarch 5, 2021 17:10
@devsnek
devsnekforce-pushed the better-native-errors branch from caaffe6 to 21b4ee7CompareMarch 5, 2021 17:28

@addaleaxaddaleax left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Collaborator

@targos

Copy link
Copy Markdown
Member

Does this need a documentation update (for the error code) ?

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@devsnek
devsnekforce-pushed the better-native-errors branch from 21b4ee7 to 4434596CompareMarch 9, 2021 00:07
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@devsnek
devsnek requested a review from targosMarch 9, 2021 00:09
@devsnek

Copy link
Copy Markdown
MemberAuthor

Is "rebuild" or "retry" the correct button for just doing the failed runners

@targos

Copy link
Copy Markdown
Member

The correct button is "Resume build"

@devsnek

Copy link
Copy Markdown
MemberAuthor

Close enough 😄

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

PR-URL: nodejs#37598
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@devsnek
devsnekforce-pushed the better-native-errors branch from 4434596 to 853086fCompareMarch 9, 2021 16:14
@devsnek
devsnek merged commit 853086f into nodejs:masterMar 9, 2021
@devsnek

Copy link
Copy Markdown
MemberAuthor

landed in 853086f

@devsnek
devsnek deleted the better-native-errors branch March 9, 2021 16:15
danielleadams pushed a commit that referenced this pull request Mar 16, 2021
PR-URL: #37598
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@danielleadamsdanielleadams mentioned this pull request Mar 16, 2021
targos pushed a commit that referenced this pull request May 1, 2021
PR-URL: #37598
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@danielleadamsdanielleadams mentioned this pull request May 3, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.c++Issues and PRs that require attention from people who are familiar with C++.needs-ciPRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@devsnek@nodejs-github-bot@targos@jasnell@addaleax@RaisinTen@aduh95