Skip to content

Commit 514bfa6

Browse files
committed
fix error messages in error models
1 parent 2ea9853 commit 514bfa6

File tree

1 file changed

+2
-2
lines changed
  • packages/celery-library/src/celery_library

1 file changed

+2
-2
lines changed

packages/celery-library/src/celery_library/errors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def decode_celery_transferrable_error(error: TransferrableCeleryError) -> Except
2727

2828

2929
class TaskSubmissionError(OsparcErrorMixin, Exception):
30-
msg_template = "Unable to submit task {task_name} with id '{task_key}' and params {task_params}"
30+
msg_template = "Unable to submit task {task_name} with key '{task_key}' and params {task_params}"
3131

3232

3333
class TaskNotFoundError(OsparcErrorMixin, Exception):
34-
msg_template = "Task with id '{task_key}' was not found"
34+
msg_template = "Task with key '{task_key}' was not found"

0 commit comments

Comments
 (0)