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

print_exception error on run.py catch clause #145

Open
p-ferreira opened this issue Aug 30, 2023 · 0 comments · May be fixed by #146
Open

print_exception error on run.py catch clause #145

p-ferreira opened this issue Aug 30, 2023 · 0 comments · May be fixed by #146

Comments

@p-ferreira
Copy link
Contributor

I noticed that some validators are breaking with the following error message:

TypeError: print_exception() missing 1 required positional argument: 'exc'

This started happening after #135 merge, at run.py catch clause. I was able to simulate the issue with the following chunk of code:

from traceback import print_exception

try:
    raise Exception('Test')
except Exception as err:
    print_exception(print_exception(value=e))

Solution

The solution should be as easy as implementing the function with the right call, without missing required positional arguments

@p-ferreira p-ferreira linked a pull request Aug 30, 2023 that will close this issue
@p-ferreira p-ferreira linked a pull request Aug 30, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant