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

1.3.3 Error Handling for Validation #73

Closed
dwest77a opened this issue Mar 10, 2025 · 1 comment
Closed

1.3.3 Error Handling for Validation #73

dwest77a opened this issue Mar 10, 2025 · 1 comment
Labels
Urgent Urgent issues to fix.

Comments

@dwest77a
Copy link
Collaborator

Alter error handling with the following:

 err = worst_error(vd.report)
        if vd.pass_fail == 'Fatal':
            raise ValidationError(err)
        else:
            err = err or 'Success'
            self.update_status('validate',err, jobid=self._logid)
        
        return vd.pass_fail
@dwest77a dwest77a added the Urgent Urgent issues to fix. label Mar 10, 2025
dwest77a added a commit that referenced this issue Mar 10, 2025
@dwest77a
Copy link
Collaborator Author

Fixed in branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Urgent Urgent issues to fix.
Projects
None yet
Development

No branches or pull requests

1 participant