-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v20.x backport] fs: add stacktrace to fs/promises #51127
Closed
sapphi-red
wants to merge
1
commit into
nodejs:v20.x-staging
from
sapphi-red:backport-49849-to-v20.x
Closed
[v20.x backport] fs: add stacktrace to fs/promises #51127
sapphi-red
wants to merge
1
commit into
nodejs:v20.x-staging
from
sapphi-red:backport-49849-to-v20.x
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nodejs-github-bot
added
fs
Issues and PRs related to the fs subsystem / file system.
needs-ci
PRs that need a full CI run.
v20.x
v20.x Issues that can be reproduced on v20.x or PRs targeting the v20.x-staging branch.
labels
Dec 12, 2023
sapphi-red
force-pushed
the
backport-49849-to-v20.x
branch
from
December 12, 2023 05:25
119b5ee
to
3a1ee22
Compare
sapphi-red
added a commit
to sapphi-red/node
that referenced
this pull request
Dec 12, 2023
Sync functions in fs throwed an error with a stacktrace which is helpful for debugging. But functions in fs/promises throwed an error without a stacktrace. This commit adds stacktraces by calling Error.captureStacktrace and re-throwing the error. Refs: nodejs#34817 PR-URL: nodejs#49849 Backport-PR-URL: nodejs#51127 Fixes: nodejs#50160 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
The lint error is not caused by this PR. |
UlisesGascon
force-pushed
the
v20.x-staging
branch
from
December 12, 2023 09:33
a300366
to
423c757
Compare
The lint issue was solved in c519e80 🙌 |
sapphi-red
force-pushed
the
backport-49849-to-v20.x
branch
from
December 12, 2023 13:17
3a1ee22
to
61766a7
Compare
sapphi-red
added a commit
to sapphi-red/node
that referenced
this pull request
Dec 12, 2023
Sync functions in fs throwed an error with a stacktrace which is helpful for debugging. But functions in fs/promises throwed an error without a stacktrace. This commit adds stacktraces by calling Error.captureStacktrace and re-throwing the error. Refs: nodejs#34817 PR-URL: nodejs#49849 Backport-PR-URL: nodejs#51127 Fixes: nodejs#50160 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
Rebased on top of it 👍 |
UlisesGascon
force-pushed
the
v20.x-staging
branch
2 times, most recently
from
December 15, 2023 18:47
7ee5261
to
4c9099f
Compare
UlisesGascon
force-pushed
the
v20.x-staging
branch
from
December 20, 2023 15:15
4c9099f
to
7af8e20
Compare
UlisesGascon
force-pushed
the
v20.x-staging
branch
from
January 9, 2024 08:44
a42629c
to
435f9c9
Compare
This needs to be rebased. |
sapphi-red
force-pushed
the
backport-49849-to-v20.x
branch
from
March 26, 2024 04:54
61766a7
to
c4d58e7
Compare
sapphi-red
added a commit
to sapphi-red/node
that referenced
this pull request
Mar 26, 2024
Sync functions in fs throwed an error with a stacktrace which is helpful for debugging. But functions in fs/promises throwed an error without a stacktrace. This commit adds stacktraces by calling Error.captureStacktrace and re-throwing the error. Refs: nodejs#34817 PR-URL: nodejs#49849 Backport-PR-URL: nodejs#51127 Fixes: nodejs#50160 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
Sync functions in fs throwed an error with a stacktrace which is helpful for debugging. But functions in fs/promises throwed an error without a stacktrace. This commit adds stacktraces by calling Error.captureStacktrace and re-throwing the error. Refs: nodejs#34817 PR-URL: nodejs#49849 Backport-PR-URL: nodejs#51127 Fixes: nodejs#50160 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
sapphi-red
force-pushed
the
backport-49849-to-v20.x
branch
from
March 26, 2024 04:54
c4d58e7
to
518d819
Compare
github-actions
bot
removed
the
request-ci
Add this label to start a Jenkins CI on a PR.
label
Mar 26, 2024
RafaelGSS
force-pushed
the
v20.x-staging
branch
from
April 10, 2024 16:18
ae243ec
to
32014f5
Compare
marco-ippolito
approved these changes
Apr 29, 2024
marco-ippolito
force-pushed
the
v20.x-staging
branch
from
April 29, 2024 13:22
4fd1691
to
ecadd63
Compare
RafaelGSS
approved these changes
Apr 29, 2024
marco-ippolito
pushed a commit
that referenced
this pull request
Apr 29, 2024
Sync functions in fs throwed an error with a stacktrace which is helpful for debugging. But functions in fs/promises throwed an error without a stacktrace. This commit adds stacktraces by calling Error.captureStacktrace and re-throwing the error. Refs: #34817 PR-URL: #49849 Backport-PR-URL: #51127 Fixes: #50160 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
Landed in c530520 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is a backport of #49849.
Sync functions in fs throwed an error with a stacktrace which is helpful for debugging. But functions in fs/promises throwed an error without a stacktrace. This commit adds stacktraces by calling Error.captureStacktrace and re-throwing the error.
Refs: #34817
PR-URL: #49849
Fixes: #50160
Reviewed-By: Joyee Cheung [email protected]
Reviewed-By: Benjamin Gruenbaum [email protected]
Reviewed-By: Zeyu "Alex" Yang [email protected]
Reviewed-By: Moshe Atlow [email protected]
Reviewed-By: Jiawen Geng [email protected]