Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPError diagnostics #339

Open
p-mongo opened this issue Jul 15, 2019 · 0 comments
Open

HTTPError diagnostics #339

p-mongo opened this issue Jul 15, 2019 · 0 comments

Comments

@p-mongo
Copy link

p-mongo commented Jul 15, 2019

When I try to use jira-ruby against our jira instance, I get the following error:

/home/w/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/jira-ruby-1.7.0/lib/jira/request_client.rb:15:in `request': JIRA::HTTPError

This doesn't even show the HTTP error code, and ideally whatever API response error message was (if any) should also be forwarded.

I have not been able to find anything in the documentation to observe/log requests/responses, to troubleshoot errors like this. There is commented out code to insert a pry breakpoint in request_client.rb, but surely it is not expected that applications edit the source of their dependencies and perform interactive debugging each time to receive error information?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant