Fixes string formatting of the error msg log
Apart from incomplete output the incorrect formatting causes followup exception further obfuscating the original issue. Minor issue related to: BGZ:1895045 Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: Ibed0bc4b78be957819205bed76073e72820ab2a1
This commit is contained in:
parent
861232b6ec
commit
12cd88dfe2
@ -51,8 +51,12 @@ def create_artifacts_dir(dir_path=None, prefix=None):
|
||||
os.makedirs(log_dir)
|
||||
return validation_uuid, log_dir
|
||||
except OSError:
|
||||
LOG.exception("Error while creating Ansible artifacts log file."
|
||||
"Please check the access rights for {}").format(log_dir)
|
||||
LOG.exception(
|
||||
(
|
||||
"Error while creating Ansible artifacts log file."
|
||||
"Please check the access rights for {}"
|
||||
).format(log_dir)
|
||||
)
|
||||
|
||||
|
||||
def parse_all_validations_on_disk(path, groups=None):
|
||||
|
Loading…
x
Reference in New Issue
Block a user