mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
tweak logs
This commit is contained in:
parent
eeb2f9eb20
commit
ad49bf9d85
1 changed files with 4 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue