mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Fix malformed exception handling
This commit is contained in:
parent
559c52bf74
commit
6a2330a85e
@ -79,7 +79,7 @@ def compile_template(template,
|
||||
try:
|
||||
input_data.seek(0)
|
||||
except Exception as exp:
|
||||
log.error('error: {0}:\n{1}'.format(exp))
|
||||
log.error('error: {0}'.format(exp))
|
||||
|
||||
render_kwargs = dict(renderers=renderers, tmplpath=template)
|
||||
render_kwargs.update(kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user