Skip to content

Commit 9a6d42d

Browse files
committed
Fix a typo in error message
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
1 parent 2f14b41 commit 9a6d42d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

scanpipe/pipelines/analyze_symbols_reachability.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def clone_target_repos(self):
109109
repo = Repo.clone_from(vcs_url, repo_path)
110110
self.cloned_git_obj_repos[vcs_url] = repo
111111
except Exception as e:
112-
self.log(f"Failed to clone repository {vcs_url}: {e}")
112+
self.log(f"Failed to clone repository {vcs_url}: {e!r}")
113113

114114
def collect_resource_index(self):
115115
"""Collect resources symbols for each resource exactly once."""
@@ -148,7 +148,8 @@ def collect_patch_symbols(self):
148148
self.patch_symbols[commit_hash] = patch_analyzer.collect_patch_symbols()
149149
except Exception as e:
150150
self.log(
151-
f"Failed to collect patch symbols for {vcs_url}@{commit_hash}: {e}"
151+
f"Failed to collect patch "
152+
f"symbols for {vcs_url}@{commit_hash}: {e!r}"
152153
)
153154
self.patch_symbols[commit_hash] = {}
154155

0 commit comments

Comments
 (0)