mirror of https://github.com/ansible/ansible.git
Throw a prettier error in m_u.basic syslog (#70312)
Change: - In certain situations, such as when the input string contains null bytes (\0), syslog.syslog will throw a TypeError. Handle that and fail_json instead. Test Plan: - New test - ansible-test --docker centos[68] (for py2 and py3 respectively) Tickets: - Refs #70269 Signed-off-by: Rick Elrod <rick@elrod.me>pull/70418/head
parent
a1ac595d42
commit
f7078c1f8f
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- The logging functionality in module_utils.basic now returns a nicer error when it falls back to syslog but ends up getting a TypeError thrown back.
|
Loading…
Reference in New Issue