pcuzner / ansible-runner-service

Python project that wraps the ansible_runner 'engine' inside a RESTful API
Other
17 stars 9 forks source link

Return also the description of the error #22

Closed jmolmo closed 6 years ago

jmolmo commented 6 years ago

https://github.com/pcuzner/ansible-runner-service/blob/2701234a8ba2fd2e902093586b2d2567e35556f3/runner_service/utils.py#L401

Is ok to log the error, but in this case: When this function is used, for example, managing hosts, i think that to provide the description of the error to the user directly would be very useful for him.

pcuzner commented 6 years ago

Addressed in PR #28