From 6373761a4c2fb0f101171d05720e5a13ceee4119 Mon Sep 17 00:00:00 2001 From: Dan Date: Mon, 13 Feb 2023 10:38:21 -0500 Subject: [PATCH] run_pyl --- .../spiffworkflow_backend/services/service_task_service.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/service_task_service.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/service_task_service.py index 2ff09af2e..8d4fd43b4 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/service_task_service.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/service_task_service.py @@ -113,7 +113,9 @@ class ServiceTaskDelegate: message = ServiceTaskDelegate.get_message_for_status( proxied_response.status_code ) - error = f"Received an unexpected response from service {name} : {message}" + error = ( + f"Received an unexpected response from service {name} : {message}" + ) if "error" in parsed_response: error += parsed_response["error"] if json_parse_error: