diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/exceptions/api_error.py b/spiffworkflow-backend/src/spiffworkflow_backend/exceptions/api_error.py index 25ce5ee6..9b73536c 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/exceptions/api_error.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/exceptions/api_error.py @@ -158,7 +158,8 @@ class ApiError(Exception): task_trace=exp.task_trace, ) elif isinstance(exp, WorkflowException) and exp.task_spec: - return ApiError.from_task_spec(error_code, message, exp.task_spec) + msg = message + ". " + str(exp) + return ApiError.from_task_spec(error_code, msg, exp.task_spec) else: return ApiError("workflow_error", str(exp))