mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
more information
This commit is contained in:
@@ -504,7 +504,8 @@ class Templar:
|
||||
)
|
||||
else:
|
||||
debug("failing because of a type error, template data is: %s" % data)
|
||||
raise AnsibleError("an unexpected type error occurred. Error was %s" % te)
|
||||
import traceback
|
||||
raise AnsibleError("an unexpected type error occurred. Error was %s, tracback: %s" % (te, traceback.format_exc()))
|
||||
|
||||
if preserve_trailing_newlines:
|
||||
# The low level calls above do not preserve the newline
|
||||
|
||||
Reference in New Issue
Block a user