Error Text Changed

This commit is contained in:
NWalker4483 2021-06-09 14:54:43 -04:00
parent 338fe30984
commit 2364c240b2
1 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ class WorkflowService(object):
if (exit_task != None): if (exit_task != None):
WorkflowService.delete_test_data() WorkflowService.delete_test_data()
raise ApiError.from_task("validation_break", raise ApiError.from_task("validation_break",
f"This task is in a lane called '{task.task_spec.lane}' " f"This task is called '{task.task_spec.name}' and was run using "
, exit_task.parent) , exit_task.parent)
tasks = processor.bpmn_workflow.get_tasks(SpiffTask.READY) tasks = processor.bpmn_workflow.get_tasks(SpiffTask.READY)
for task in tasks: for task in tasks:
@ -144,7 +144,7 @@ class WorkflowService(object):
if test_until == task.task_spec.name: if test_until == task.task_spec.name:
escaped = WorkflowService.delete_test_data() escaped = WorkflowService.delete_test_data()
raise ApiError.from_task("validation_break", raise ApiError.from_task("validation_break",
f"This task is in a lane called '{task.task_spec.name}' and was run using " f"This task is called '{task.task_spec.name}' and was run using "
, task.parent) , task.parent)
count += 1 count += 1
except WorkflowException as we: except WorkflowException as we: