Skip to content

Feature request: Better error logging #28

@cfiske

Description

@cfiske

It would be very helpful to get the actual error encountered by the Python script on a failure, rather than the opaque "Unexpected failure during module execution" from Ansible.

Perhaps something as simple as wrapping the entire run() function in a try which raises errors.AnsibleError with the real message on failure would be a good start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions