mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
states/tls: add log.error in file not found error-handling
This commit is contained in:
parent
48b73f46cb
commit
743fa942aa
@ -43,6 +43,7 @@ def valid_certificate(
|
||||
except IOError as exc:
|
||||
ret['comment'] = '{}'.format(exc)
|
||||
ret['result'] = False
|
||||
log.error(ret['comment'])
|
||||
return ret
|
||||
|
||||
# verify that the cert is valid *now*
|
||||
|
Loading…
Reference in New Issue
Block a user