mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Merge pull request #5162 from JensRantil/fix-corrupt-module-outputs
More don't catch `SystemExit`
This commit is contained in:
@@ -138,7 +138,7 @@ def download_key(module, url):
|
||||
module.fail_json("error connecting to download key from url")
|
||||
data = connection.read()
|
||||
return data
|
||||
except:
|
||||
except Exception:
|
||||
module.fail_json(msg="error getting key id from url", traceback=format_exc())
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user