diff --git a/tripleoclient/exceptions.py b/tripleoclient/exceptions.py index fe331a61e..adafe7905 100644 --- a/tripleoclient/exceptions.py +++ b/tripleoclient/exceptions.py @@ -88,8 +88,8 @@ class WorkflowActionError(Exception): """Workflow action failed""" msg_format = "Action {} execution failed: {}" - def __init__(self, message, action='', output=''): - message = message.format(action, output) + def __init__(self, action='', output=''): + message = self.msg_format.format(action, output) super(WorkflowActionError, self).__init__(message)