-
Notifications
You must be signed in to change notification settings - Fork 289
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
🪲 Revise runtime errors to include actual values #5308
Conversation
dda7ea3
to
e0e007a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork). |
Owno, this has conflicts now because of the changed Pygame tests, and I am afraid to mess things up, can you take a look @boryanagoncharenko? |
3c3d08c
to
8969fef
Compare
Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork). |
Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork). |
Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork). |
Fixes #5005
Value errors display the actual value that is causing the error instead of the variable name holding this value.
How to test
Run Hedy locally and check whether the following programs produce correct error messages. Ensure that you supply text values to all ask commands and that the errors contain the actual value you supplied.
Level 1
Level 2
Level 6
Level 7
Level 12