-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
Diagnostics report: inspect the error object #28415
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
feature request
Issues that request new features to be added to Node.js.
report
Issues and PRs related to process.report.
Comments
related code lines: Lines 352 to 388 in c42da5e
|
I'm working on this. |
3 tasks
I think I've done this, see #28426 |
landed in 870f0fc |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
feature request
Issues that request new features to be added to Node.js.
report
Issues and PRs related to process.report.
Is your feature request related to a problem? Please describe.
Now we inspect the error object on fatal errors, which is awesome. I started to play with node-report recently and this feature was not incorporated there yet. I think this would make a lot of sense since it would make the report more useful for users.
Describe the solution you'd like
Take the program below as an example:
Today it will output the following stack trace (see how it also prints the custom attribute we added):
The report for this error looks like this today:
It would be amazing if we had the properties as well, as shown below:
Describe alternatives you've considered
The only alternative as powerful as this would be core dumps, but the entry barrier for core dumps is way higher than node-report.
The text was updated successfully, but these errors were encountered: