mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Improve handling of ansible-doc sanity errors.
This commit is contained in:
parent
e726c7ecf7
commit
f9f6080630
2 changed files with 39 additions and 4 deletions
|
@ -163,7 +163,7 @@ class DocCLI(CLI):
|
|||
doc, plainexamples, returndocs, metadata = get_docstring(filename, fragment_loader, verbose=(self.options.verbosity > 0))
|
||||
except:
|
||||
display.vvv(traceback.format_exc())
|
||||
display.error("%s %s has a documentation error formatting or is missing documentation." % (plugin_type, plugin))
|
||||
display.error("%s %s has a documentation error formatting or is missing documentation." % (plugin_type, plugin), wrap_text=False)
|
||||
continue
|
||||
|
||||
if doc is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue