summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorSloane Hertel <19572925+s-hertel@users.noreply.github.com>2023-03-20 12:54:57 -0400
committerGitHub <noreply@github.com>2023-03-20 11:54:57 -0500
commit28c9d93fe07b9f18a0c3e2f87559756edd5364a5 (patch)
tree7158c5dbbf9805c0cbd2a5e53bf63e8bcfae6a95 /changelogs
parent24f40b44aef23efcdbf7584378c970d0d93db156 (diff)
downloadansible-28c9d93fe07b9f18a0c3e2f87559756edd5364a5.tar.gz
ansible-galaxy role info - fix unhandled AttributeError (#80187)
* catch GalaxyError instead of its base class to ensure it will have a http_error attribute (cherry picked from commit 6165dfea4040fdac9d73e9f415f3da9b0b8a3591)
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/fragments/a-g-role-fix-catching-exception.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/a-g-role-fix-catching-exception.yml b/changelogs/fragments/a-g-role-fix-catching-exception.yml
new file mode 100644
index 0000000000..210cc57d4d
--- /dev/null
+++ b/changelogs/fragments/a-g-role-fix-catching-exception.yml
@@ -0,0 +1,2 @@
+bugfixes:
+ - ansible-galaxy role info - fix unhandled AttributeError by catching the correct exception.