Skip to content

Conversation

@BridgeAR
Copy link
Member

@BridgeARBridgeAR commented Mar 26, 2019

This adds support to visualize the difference between errors with
null prototype or subclassed errors. This has a couple safeguards
to be sure that the output is not intrusive.

We normally handle changed util.inspect() output as semver-patch
but in this case I'd say it's more like a semver-major even though I'd
love to get some early feedback. Any opinions about this?

CITGM https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/1778/

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

This adds support to visualize the difference between errors with null prototype or subclassed errors. This has a couple safeguards to be sure that the output is not intrusive.
@nodejs-github-botnodejs-github-bot added the util Issues and PRs related to the built-in util module. label Mar 26, 2019
@nodejs-github-bot
Copy link
Collaborator

@BridgeARBridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 26, 2019
@BridgeAR
Copy link
MemberAuthor

@jasnell
Copy link
Member

No opinion on it really. I trust your judgement on it

@targos
Copy link
Member

Same

@targos
Copy link
Member

Landed in e54f237

@targostargos closed this Mar 30, 2019
targos pushed a commit that referenced this pull request Mar 30, 2019
This adds support to visualize the difference between errors with null prototype or subclassed errors. This has a couple safeguards to be sure that the output is not intrusive. PR-URL: #26923 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
@BridgeAR
Copy link
MemberAuthor

I added the do not land labels on this for v6-v10.

BethGriggs pushed a commit that referenced this pull request Apr 5, 2019
This adds support to visualize the difference between errors with null prototype or subclassed errors. This has a couple safeguards to be sure that the output is not intrusive. PR-URL: #26923 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
BethGriggs pushed a commit that referenced this pull request Apr 8, 2019
This adds support to visualize the difference between errors with null prototype or subclassed errors. This has a couple safeguards to be sure that the output is not intrusive. PR-URL: #26923 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Signed-off-by: Beth Griggs <[email protected]>
@BethGriggsBethGriggs mentioned this pull request Apr 9, 2019
@BridgeARBridgeAR deleted the improve-error-inspection-2 branch January 20, 2020 11:57
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.utilIssues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@BridgeAR@nodejs-github-bot@jasnell@targos