Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 822487b

Browse files
authored
Log all type of "owner" arg for fetch_commit_yaml (#818)
1 parent 177d212 commit 822487b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/yaml.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@ def fetch_commit_yaml(commit: Commit, owner: Owner | None) -> Dict | None:
3939
# have various exceptions, which we do not care about to get the final
4040
# yaml used for a commit, as any error here, the codecov.yaml would not
4141
# be used, so we return None here
42+
4243
log.warning(
4344
f"Was not able to fetch yaml file for commit. Ignoring error and returning None. Exception: {e}",
4445
extra={
4546
"commit_id": commit.commitid,
46-
"owner": owner.ownerid if owner else None,
47+
"owner_arg": type(owner),
4748
},
4849
)
4950
return None

0 commit comments

Comments
 (0)