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.

[FEATURE REQ][Blob Storage] Rewrap UnknownHostException before throwing

See original GitHub issue

Is your feature request related to a problem? Please describe. When storage endpoints cannot be resolved by the blob storage SDK (v12), it throws an UnknownHostException wrapped in ReactiveException but that exception type is not public so it cannot be handled directly and will have to do a catch all.

Describe the solution you’d like It would be nice if exceptions wrapped in ReactiveException are rewrapped with RuntimeException or something similar that is accessible and that the SDK generally uses for such runtime errors.

Describe alternatives you’ve considered Do a catch all exceptions.

Additional context NA

Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Description Added
  • Expected solution specified

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rickle-msftcommented, Jun 22, 2020

Sounds good! I am going to close this issue, then. Let us know if you need anything else.

1reaction
rickle-msftcommented, Jun 18, 2020

Hi, @SukruthKS. I think this is a fair request and would be good for us to update. We’ll look into why ReactiveExceptions aren’t getting wrapped in this case and work on fixing that. The only possible catch I can foresee is that sometimes our architecture board is not comfortable with changing exception types that get thrown as it might be thought of as a break, but I think we will be able to consider this a bug fix

Read more comments on GitHub >

github_iconTop Results From Across the Web

azure-sdk-for-java - [FEATURE REQ][Blob Storage] Rewrap ...
Azure-sdk-for-java: [FEATURE REQ][Blob Storage] Rewrap UnknownHostException before throwing · Is your feature request related to a problem? Please describe.
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