diff --git a/slic/core/acquisition/broker_client.py b/slic/core/acquisition/broker_client.py index a5dc5b5a..7f4c9a00 100644 --- a/slic/core/acquisition/broker_client.py +++ b/slic/core/acquisition/broker_client.py @@ -286,7 +286,7 @@ def validate_response(resp): return resp message = resp.get("message", "Unknown error") - msg = "An error happened on the server:\n{}".format(message) + msg = f"An error happened on the server:\n{message}" raise BrokerError(msg)