mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 20:31:27 -07:00
Do not use str() on exceptions (#46950)
This commit is contained in:
parent
2436aa1a4e
commit
a80c25cbd9
30 changed files with 76 additions and 66 deletions
|
@ -969,7 +969,7 @@ class StrategyBase:
|
|||
for host in included_file._hosts:
|
||||
iterator.mark_host_failed(host)
|
||||
self._tqm._failed_hosts[host.name] = True
|
||||
display.warning(str(e))
|
||||
display.warning(to_text(e))
|
||||
continue
|
||||
|
||||
# remove hosts from notification list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue