Skip to content

Commit

Permalink
update exception title
Browse files Browse the repository at this point in the history
  • Loading branch information
mcucchi9 committed Jun 7, 2024
1 parent d4e6957 commit 069e8ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cads_processing_api_service/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ def get_results_from_job(
)
traceback = "\n".join([message[1] for message in error_messages])
raise ogc_api_processes_fastapi.exceptions.JobResultsFailed(
title="The job has failed.",
status_code=fastapi.status.HTTP_400_BAD_REQUEST,
traceback=traceback,
)
Expand Down

0 comments on commit 069e8ac

Please sign in to comment.