mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 16:23:10 +00:00
Do not assume that all exception constructors accept a single string argument. For example UnicodeError's __init__ takes 5 parameters: encoding, object, start, end, reason. Also, if e.message is present but empty, fall back on stringifying the exception occurrence. Fixes #35270