Use str() to get exception message (#2590)

This commit is contained in:
DasSkelett
2021-05-25 12:58:20 +02:00
committed by GitHub
parent 593d622438
commit 63012eef82
2 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- netcup_dns - use ``str(ex)`` instead of unreliable ``ex.message`` in exception handling to fix ``AttributeError`` in error cases (https://github.com/ansible-collections/community.general/pull/2590).