diff --git a/checkov/terraform/graph_builder/local_graph.py b/checkov/terraform/graph_builder/local_graph.py index 97e6c6961b3..6b24afd3b4d 100644 --- a/checkov/terraform/graph_builder/local_graph.py +++ b/checkov/terraform/graph_builder/local_graph.py @@ -232,7 +232,7 @@ def _build_edges_for_vertex(self, origin_node_index: int, vertex: TerraformBlock ) except Exception: logging.warning( - f"Module {self.vertices[dest_node_index]} does not have source attribute, skipping", exc_info=True + f"Module {self.vertices[dest_node_index]} does not have source attribute, skipping" ) else: self._create_edge(origin_node_index, dest_node_index, attribute_key, cross_variable_edges)