Skip to content

Conversation

@PhakornKiong
Copy link
Contributor

The if-else is check if e.stack is string
according to Node.js docs, e.stack is always
a string, so there is no need for this check

Refs: #38077

The if-else is check if e.stack is string
according to Node.js docs, e.stack is always
a string, so there is no need for this check

Refs: nodejs#38077
@nodejs-github-bot nodejs-github-bot added async_hooks Issues and PRs related to the async hooks subsystem. needs-ci PRs that need a full CI run. labels Apr 4, 2021
@Linkgoron
Copy link
Contributor

Technically, anything can be thrown and e doesn't have to be an Error.

@aduh95
Copy link
Contributor

aduh95 commented Apr 6, 2021

Closing in favour of #38106.

@aduh95 aduh95 closed this Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

async_hooks Issues and PRs related to the async hooks subsystem. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants