Skip to content

Commit 194a4b3

Browse files
committed
updated logging
1 parent 6f8bd78 commit 194a4b3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

functions-python/tasks_executor/src/tasks/licenses/populate_licenses.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ def populate_licenses_task(dry_run, db_session):
7171
if dry_run:
7272
logging.info("Dry run: would process %d licenses.", len(licenses_data))
7373
for license_data in licenses_data:
74-
logging.info("Dry run: processing license %d", len(licenses_data))
74+
logging.info(
75+
"Dry run: processing license %s",
76+
license_data.get("spdx", {}).get("licenseId", "unknown"),
77+
)
7578
else:
7679
for license_data in licenses_data:
7780
spdx_data = license_data.get("spdx")

0 commit comments

Comments
 (0)