diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e69de29bb..08fc30def 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -0,0 +1,4 @@ +- bump: patch + changes: + added: + - Added f-string to log job_id in calculate_economy_simulation_job.py \ No newline at end of file diff --git a/policyengine_api/jobs/calculate_economy_simulation_job.py b/policyengine_api/jobs/calculate_economy_simulation_job.py index 3454e496b..11f5c6b88 100644 --- a/policyengine_api/jobs/calculate_economy_simulation_job.py +++ b/policyengine_api/jobs/calculate_economy_simulation_job.py @@ -107,7 +107,7 @@ def run( } logger.log_struct( { - "message": "Starting job with job_id {job_id}", + "message": f"Starting job with job_id {job_id}", **job_setup_options, }, severity="INFO",