question-mark
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.

Exception not being parsed properly

See original GitHub issue

Related to #8

There still seems to be an issue, with AttributeError: '_Rendezvous' object has no attribute 'request_id' on this line. This can easily be replicated with a GoogleAdsService.search request with an syntactically invalid query.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
BenRKarlcommented, Jan 29, 2019

@MarTango - I just posted a PR that should address these errors. Specifically the Object of type bytes is not JSON serializable is addressed here. In the trailing metadata (a.k.a. response headers) we receive from the API the values are sometimes bytes so that default handler converts them when they’re encountered.

0reactions
MarTangocommented, Feb 4, 2019

Looks like #27 has fixed this - thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

net - C# - failed parse exception? - Stack Overflow
The exception name you are looking for is called a FormatException . However, it would be smarter to first do a TryParse on...
Read more >
Best Practices for exceptions - .NET - Microsoft Learn
Learn best practices for exceptions, such as using try/catch/finally, handling common conditions without exceptions, and using predefined .
Read more >
Is it good practice to throw exceptions in parsing functions
Exceptions should be used for exceptional cases. A parse error is not exceptional; an input that can be parsed correctly is probably more ......
Read more >
Can Constructors Throw Exceptions in Java - Rollbar
The short answer is yes! Of course, properly implementing exceptions in your constructors is essential to getting the best results.
Read more >
Error handling, "try...catch" - The Modern JavaScript Tutorial
If there were no errors, then catch (err) is ignored: the ... To catch an exception inside a scheduled function, try...catch must be...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found