Patch/improve jira error reporting

Useful error info was getting discarded in the Jira hook.  This PR adds more helpful error messages.