mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +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:
|
except IOError as exc:
|
||||||
ret['comment'] = '{}'.format(exc)
|
ret['comment'] = '{}'.format(exc)
|
||||||
ret['result'] = False
|
ret['result'] = False
|
||||||
|
log.error(ret['comment'])
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
# verify that the cert is valid *now*
|
# verify that the cert is valid *now*
|
||||||
|
Loading…
Reference in New Issue
Block a user