We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 99bbfa9 + b22c849 commit ae9a527Copy full SHA for ae9a527
chaoslib/provider/python.py
@@ -88,10 +88,12 @@ def validate_python_activity(activity: Activity): # noqa: C901
88
89
try:
90
mod = importlib.import_module(mod_name)
91
- except ImportError:
+ except ImportError as e:
92
raise InvalidActivity(
93
"could not find Python module '{mod}' "
94
- "in activity '{name}'".format(mod=mod_name, name=activity_name)
+ "in activity '{name}'"
95
+ "\nerror traceback:\n{error}".format(
96
+ mod=mod_name, name=activity_name, error=e)
97
)
98
99
found_func = False
0 commit comments