Skip to content

print_exception error on run.py catch clause #145

Open
@p-ferreira

Description

@p-ferreira

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions