Skip to content

Commit 21206bf

Browse files
committed
add exception_logger wrapper to dep
1 parent 82177e9 commit 21206bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cads_processing_api_service/clients.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,9 @@ def get_job(
624624
def get_job_results(
625625
self,
626626
job_id: str = fastapi.Path(..., description="Job identifier."),
627-
auth_info: models.AuthInfo = fastapi.Depends(auth.get_auth_info),
627+
auth_info: models.AuthInfo = fastapi.Depends(
628+
exceptions.exception_logger(auth.get_auth_info)
629+
),
628630
) -> ogc_api_processes_fastapi.models.Results:
629631
"""Implement OGC API - Processes `GET /jobs/{job_id}/results` endpoint.
630632

0 commit comments

Comments
 (0)