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

Handle validation errors gracefully #358

Open
pederhan opened this issue Dec 5, 2024 · 0 comments
Open

Handle validation errors gracefully #358

pederhan opened this issue Dec 5, 2024 · 0 comments
Assignees

Comments

@pederhan
Copy link
Member

pederhan commented Dec 5, 2024

When a model fails to validate, we should print which model and field(s) that failed, but no more than that.

We should ensure no traceback is leaked to the console, and is instead logged in full to the log file. Furthermore, we should ensure validation errors do not cause the application to terminate, but instead marks the command as failed - and then continues on.

@pederhan pederhan self-assigned this Dec 5, 2024
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

No branches or pull requests

1 participant