Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add request info to ApiException

See original GitHub issue

It would be helpful if ApiException carried some information about the failed request. For example, the request method and request URI.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

canton7commented, Apr 5, 2018

@phillijw I’m afraid I don’t understand the question. This exception is thrown because a request went wrong - it will never be thrown before the request happens. I’m not sure why you wouldn’t have access to the endpoint, after making a request to it.

Guys, this is a 2-year-old issue. A request was made, the feature implemented, released, and the issue closed. It’s done and dusted. Please don’t bring it back to life!

canton7commented, Mar 15, 2017

That’s a fair request

Read more comments on GitHub >

github_iconTop Results From Across the Web

Request info is not included in ApiException · Issue #1872
When I query nonexistent resource type, I got ApiException: kubernetes.client.exceptions.ApiException: (404) Reason: Not Found HTTP response ...
Read more >
python - Adding custom response Headers to APIException
I have created a custom exception referring to Please know that I have my own ...
Read more >
Exceptions - Django REST framework
Exception handling in REST framework views. REST framework's views handle various exceptions, and deal with returning appropriate error responses.
Read more >
Custom Error Message Handling for REST API
In this tutorial, we'll discuss how to implement a global error handler for a Spring REST API. We will use the semantics of...
Read more >
Handling Exceptions Returned from the Web API
This function displays error information returned from the API in an ... can inform the user that they requested data that isn't available....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found