mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07: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)
|
module.fail_json(msg=msg)
|
||||||
else:
|
else:
|
||||||
module.warn(msg)
|
module.warn(msg)
|
||||||
|
return []
|
||||||
|
|
||||||
|
|
||||||
class CertificateSet(object):
|
class CertificateSet(object):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue