mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Use raise from in modules (#11097)
* Use raise from. * Add changelog fragment. * Add comment.
This commit is contained in:
@@ -775,7 +775,7 @@ class JIRA(StateModuleHelper):
|
||||
try:
|
||||
content = base64.b64decode(content)
|
||||
except binascii.Error as e:
|
||||
raise Exception(f"Unable to base64 decode file content: {e}")
|
||||
raise Exception(f"Unable to base64 decode file content: {e}") from e
|
||||
|
||||
lines = [
|
||||
f"--{boundary}",
|
||||
|
||||
Reference in New Issue
Block a user