Skip to content

Commit

Permalink
Expand on error message
Browse files Browse the repository at this point in the history
  • Loading branch information
wesselb committed Jan 13, 2025
1 parent 1021e37 commit 0423ebf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion aurora/foundry/client/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,14 @@ def submit(
channel.read(task_id, "input.nc.ack", timeout=120)
ack_read = True # Read the acknowledgement only once.
except TimeoutError as e:
raise SubmissionError("Could not read acknowledgement of initial condition.") from e
raise SubmissionError(
"Could not read acknowledgement of initial condition. "
"This acknowledgement should be availabe, "
"since the task has been successfully submitted. "
"Something might have gone wrong in the communication "
"between the client and the server. "
"Please the logs and your SAS token should you be using one."
) from e

if task_info.status != previous_status:
logger.info(f"Task status update: {task_info.status}")
Expand Down

0 comments on commit 0423ebf

Please sign in to comment.