This commit is contained in:
Dan 2023-02-13 10:38:21 -05:00
parent 9a0880f281
commit 03f8b62599
1 changed files with 3 additions and 1 deletions

View File

@ -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: