We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e25fe8f commit 70d8dceCopy full SHA for 70d8dce
plugins/modules/cert_info.py
@@ -49,13 +49,8 @@ def run_module():
49
if module.check_mode:
50
module.exit_json(**result)
51
52
- try:
53
- cert_info = AnalyzeCertificate(module, result)
54
- result = cert_info.return_result()
55
- except ValueError as e:
56
- module.fail_json(msg='ValueError: %s' % to_native(e))
57
- except Exception as e:
58
- module.fail_json(msg='Exception: %s: %s' % (to_native(type(e)), to_native(e)))
+ cert_info = AnalyzeCertificate(module, result)
+ result = cert_info.return_result()
59
60
61
0 commit comments