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

Provide more detailed exception reports #96

Open
Michionlion opened this issue Aug 7, 2022 · 0 comments
Open

Provide more detailed exception reports #96

Michionlion opened this issue Aug 7, 2022 · 0 comments
Labels
enhancement New feature or request help-wanted

Comments

@Michionlion
Copy link
Member

In the future, we may want to handle these exceptions more explicitly, similarly to how the GatorGrader command line interface handles them. This feedback should probably be an issue for future work.

Originally posted by @Michionlion in #91 (comment)

Currently, _run_gg_check in gatorgrade/output/output.py only reports GatorGrade exception type to the user in the form of a diagnostic with the content "{command_exception.__class__}" thrown by GatorGrader. These diagnostics could be improved by catching more specific exceptions and handling each case differently, as well as referencing some included information in the exception, such as args -- the GatorGrader check arguments for some exceptions. Visit the link in the quote above for more information on how this is handled in GatorGrader itself, which should be similar to what is needed for GatorGrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help-wanted
Projects
None yet
Development

No branches or pull requests

1 participant