-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
nicer error logging #11291
Comments
Ugly in what sense? And what would make them nicer? |
For certain errors like the options validation that makes sense, for others having the stack trace - even if it leads into internals - is very helpful. You get something to start at. |
Stack trace aside, the path to the file causing the build error should be printed.
This could be anywhere. Broke something among dozens of components and had to start the build itself in debug mode to find out which component was actually responsible (via a breakpoint in Looks like |
Describe the problem
errors encountered during build (e.g. when reading config, or when a page fails to render) are kinda ugly. pretty sure we could make them way nicer quite easily
Describe the proposed solution
nicer errors
Alternatives considered
No response
Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered: