Merge "executor: properly format error exception"

This commit is contained in:
Zuul 2019-01-25 17:49:07 +00:00 committed by Gerrit Code Review
commit 492e41fefd
1 changed files with 1 additions and 1 deletions

View File

@ -1537,7 +1537,7 @@ class AnsibleJob(object):
link = os.path.join(root, name)
link = os.path.realpath(link)
if not link.startswith(os.path.realpath(root)):
raise ExecutorError("Invalid role name %s", name)
raise ExecutorError("Invalid role name %s" % name)
os.symlink(path, link)
try: