tweak logs

This commit is contained in:
Daniel Roth 2026-05-15 11:00:58 +00:00
parent eeb2f9eb20
commit ad49bf9d85

View file

@ -75,7 +75,7 @@ class PashubClient:
url = f"{self.base}/jobs/{job_id}"
logger.debug(
f"About to make API request with session headers: { self.session.headers}"
f"About to make API request with session headers: {self.session.headers}"
)
r = self.session.get(url)
@ -87,7 +87,9 @@ class PashubClient:
try:
return r.json()["uprn"]
except Exception as e:
logger.warning(f"Failed to get UPRN for Job ID {job_id}", e)
logger.warning(
f"Failed to get UPRN for Job ID {job_id} with exception: {e}"
)
return None
def _select_latest_core_files(