Skip to content

Commit

Permalink
try to keep traceback
Browse files Browse the repository at this point in the history
  • Loading branch information
tjwald committed Jan 22, 2025
1 parent f7ae5ee commit e722574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkov/common/parallelizer/parallel_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def func_wrapper(original_func: Callable[[Any], _T], items_group: List[Any], con
v = parent_conn.recv()

if isinstance(v, ParallelRunException):
raise v.internal_exception
raise v.internal_exception.with_traceback(v.internal_exception.__traceback__)

yield v
except EOFError:
Expand Down

0 comments on commit e722574

Please sign in to comment.