Skip to content

Commit 452aee1

Browse files
committed
ai messages
1 parent 61b75ce commit 452aee1

File tree

1 file changed

+6
-3
lines changed
  • services/director-v2/src/simcore_service_director_v2/modules/comp_scheduler

1 file changed

+6
-3
lines changed

services/director-v2/src/simcore_service_director_v2/modules/comp_scheduler/_scheduler_base.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ async def _set_run_result(
249249
user_id=user_id,
250250
project_id=project_id,
251251
log=user_message(
252-
f"Pipeline run {run_result.value} for iteration {iteration} is done with {run_result.value} state"
252+
f"Project pipeline execution for iteration {iteration} has completed with status: {run_result.value}",
253+
_version=1,
253254
),
254255
log_level=logging.INFO,
255256
)
@@ -865,7 +866,8 @@ async def _schedule_tasks_to_start(
865866
user_id,
866867
project_id,
867868
log=user_message(
868-
"Unexpected error while scheduling computational tasks! TIP: contact osparc support if this does not resolve automatically."
869+
"An unexpected error occurred during task scheduling. Please contact oSparc support if this issue persists.",
870+
_version=1,
869871
),
870872
log_level=logging.ERROR,
871873
)
@@ -1003,7 +1005,8 @@ async def _timeout_if_waiting_for_cluster_too_long(
10031005
for task in tasks_waiting_for_cluster:
10041006
task.state = RunningState.FAILED
10051007
msg = user_message(
1006-
"Timed-out waiting for computational cluster! Please try again and/or contact Osparc support."
1008+
"The system has timed out while waiting for computational resources. Please try running your project again or contact oSparc support if this issue persists.",
1009+
_version=1,
10071010
)
10081011
_logger.error(msg)
10091012
await publish_project_log(

0 commit comments

Comments
 (0)