diff --git a/backend/pashub_fetcher/pashub_service.py b/backend/pashub_fetcher/pashub_service.py index b33b9dcf..13498a32 100644 --- a/backend/pashub_fetcher/pashub_service.py +++ b/backend/pashub_fetcher/pashub_service.py @@ -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)