noticed we were raising when we should have been returning.
all it affects is the location of the exception, so not much, but is weird when looking at internal stack frames otherwise.
How I did it
raise -> return
How to verify it
Checklist
[ ] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[ ] Documentation has been updated
[ ] PR title follows Conventional Commit standard (will be automatically included in the changelog)
What I did
noticed we were raising when we should have been returning. all it affects is the location of the exception, so not much, but is weird when looking at internal stack frames otherwise.
How I did it
raise
->return
How to verify it
Checklist