Skip to content
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

feat: add uncaughtException handler #6011

Merged
merged 3 commits into from
Sep 19, 2023
Merged

feat: add uncaughtException handler #6011

merged 3 commits into from
Sep 19, 2023

Conversation

eduardoboucas
Copy link
Member

Summary

Adds an uncaughtException handler to the process so that we can wrap any uncaught exceptions with some nice messaging explaining that an error with the Netlify CLI itself has occurred. The message also includes useful links and the full system info, ready to be copied and pasted to a bug report.

Screenshot 2023-09-19 at 00 26 11

@eduardoboucas eduardoboucas requested a review from a team as a code owner September 18, 2023 23:28
@github-actions
Copy link

github-actions bot commented Sep 18, 2023

📊 Benchmark results

Comparing with e6f5113

  • Dependency count: 1,365 (no change)
  • Package size: 366 MB (no change)

@eduardoboucas eduardoboucas requested a review from a team September 18, 2023 23:38
@eduardoboucas
Copy link
Member Author

@netlify/support-pod-engineering would love a thumbs up from you on the copy.

Copy link
Contributor

@estephinson estephinson left a comment

Choose a reason for hiding this comment

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

:shipit:

@estephinson
Copy link
Contributor

Future want maybe - some way of adding a error ID of some kind for support cases to be tracked against errors automatically reported to the APM

@eduardoboucas eduardoboucas merged commit 84677ee into main Sep 19, 2023
63 checks passed
@eduardoboucas eduardoboucas deleted the feat/nicer-error branch September 19, 2023 09:08
@laurajodz
Copy link

either @hrishikesh-k or @littlemarcus can take a look at this for Support - thank you!

@hrishikesh-k
Copy link

This is so cool!!! Thank you for adding this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants