diff --git a/checkov/common/parallelizer/parallel_runner.py b/checkov/common/parallelizer/parallel_runner.py index eddd85b7791..60237d87335 100644 --- a/checkov/common/parallelizer/parallel_runner.py +++ b/checkov/common/parallelizer/parallel_runner.py @@ -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: