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
Show more precise debugging steps #286
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## main #286 +/- ##
==========================================
+ Coverage 22.91% 23.32% +0.41%
==========================================
Files 9 9
Lines 371 373 +2
==========================================
+ Hits 85 87 +2
Misses 286 286
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Nice, that's a great idea! |
Love it! Having a precise error message will be really helpful, both for the users and for us. |
For the last part, can we also direct them to include the function call and not only the error text (is that accessible from the error object we are printing?)? I don't know that just getting |
This is related to #283. It is not at all complete, I just did a small test on the "Assumption checks" part to see how to customize the error message to give more precise steps. I implemented an error manually (
log("a")
) just to simulate an error.Here's the current output:
And here's the new type of error messages:
@easystats/core-team What do you think? Should it be generalized to the other parts of the dashboard?