Fix wrong number of arguments in string format (#53265)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
a8d829d9c3
commit
ef8be6a599
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ class ConfigManager(object):
|
|||
except AnsibleError:
|
||||
raise
|
||||
except Exception as e:
|
||||
raise AnsibleError("Unhandled exception when retrieving %s:\n%s" % (config), orig_exc=e)
|
||||
raise AnsibleError("Unhandled exception when retrieving %s:\n%s" % (config, to_native(e)), orig_exc=e)
|
||||
return value
|
||||
|
||||
def get_config_value_and_origin(self, config, cfile=None, plugin_type=None, plugin_name=None, keys=None, variables=None, direct=None):
|
||||
|
|
Loading…
Reference in a new issue