Skip to content

Commit

Permalink
Update lib/ansible/cli/doc.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
  • Loading branch information
bcoca and webknjaz committed Apr 12, 2024
1 parent c3c41a7 commit 4b6343a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/cli/doc.py
Expand Up @@ -1083,7 +1083,7 @@ def format_plugin_doc(plugin, plugin_type, doc, plainexamples, returndocs, metad
text = DocCLI.get_man_text(doc, collection_name, plugin_type)
except Exception as e:
display.vvv(traceback.format_exc())
raise AnsibleError("Unable to retrieve documentation from '%s'" % (plugin), orig_exc=e)
raise AnsibleError("Unable to retrieve documentation from '%s'" % (plugin), orig_exc=e) from e

return text

Expand Down

0 comments on commit 4b6343a

Please sign in to comment.