Skip to content

Commit 0773861

Browse files
committed
Edit error message
1 parent 2aea0aa commit 0773861

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

chaoslib/provider/python.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ def validate_python_activity(activity: Activity): # noqa: C901
9393
raise InvalidActivity(
9494
"could not find Python module '{mod}' "
9595
"in activity '{name}'"
96-
"\nthe error is:\n{error}".format(mod=mod_name, name=activity_name, error=e)
96+
"\nerror traceback:\n{error}".format(
97+
mod=mod_name, name=activity_name, error=e)
9798
)
9899

99100
found_func = False

0 commit comments

Comments
 (0)