mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix stacktrace when fail_on_error is False and a file cannot be parsed. (#49987)
This commit is contained in:
parent
c0dbc1a441
commit
65d5f1a4ef
1 changed files with 1 additions and 0 deletions
|
@ -230,6 +230,7 @@ def load_PEM_list(module, path, fail_on_error=True):
|
|||
module.fail_json(msg=msg)
|
||||
else:
|
||||
module.warn(msg)
|
||||
return []
|
||||
|
||||
|
||||
class CertificateSet(object):
|
||||
|
|
Loading…
Reference in a new issue