mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
add logging
This commit is contained in:
parent
3a7a00051d
commit
770493ff9e
1 changed files with 2 additions and 0 deletions
|
|
@ -60,7 +60,9 @@ class PashubService:
|
|||
else:
|
||||
try:
|
||||
uprn = active_client.get_uprn_by_job_id(job_id)
|
||||
logger.info(f"Failed to access job {job_id} with PasHub credentials")
|
||||
except UnauthorizedError:
|
||||
logger.info(f"Trying CoordinationHub credentials for job {job_id}")
|
||||
active_client = self._get_coordination_client()
|
||||
uprn = active_client.get_uprn_by_job_id(job_id)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue