mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Do not use str() on exceptions (#46950)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user