# win\_share Module Failure - no real error message?

**URL:** <https://forum.ansible.com/t/win-share-module-failure-no-real-error-message/24049>\
**Category:** Ansible Project\
**Created:** [March 23, 2017, 9:54pm UTC](https://forum.ansible.com/t/win-share-module-failure-no-real-error-message/24049 "2017-03-23T21:54:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [March 23, 2017, 9:54pm UTC](https://forum.ansible.com/t/win-share-module-failure-no-real-error-message/24049/1 "2017-03-23T21:54:44Z")

</div>

The the win\_share module currently catches all exceptions and doesn’t output the exception message in the final JSON output. I’ve raised a PR to add this feature as I’ve come across it just recently [https://github.com/ansible/ansible/pull/22763](https://github.com/ansible/ansible/pull/22763)

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [March 23, 2017, 10:40pm UTC](https://forum.ansible.com/t/win-share-module-failure-no-real-error-message/24049/2 "2017-03-23T22:40:55Z")

</div>

Nice one.

Since the PR mentioned above has been merged, I suggest testing with latest development version of ansible.

Jon
