Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@ricardo-espinoza
Copy link
Contributor

Improving the logging of WorkspaceClientException to include more informative data in its message from its inner exception.

This is a follow up to #378 .

  • Instead of providing the full stack of the exception in the output, we extract more relevant fields from the source RestErrorException and provide them to the user.

…tion.cs

Co-authored-by: César Zaragoza Cortés <cesar.zaragoza@outlook.com>
@ricardo-espinoza ricardo-espinoza merged commit 43aa297 into main Sep 23, 2020
@ricardo-espinoza ricardo-espinoza deleted the ricardoe/bugs/output-inner-exception-fields branch September 23, 2020 02:42
cgranade pushed a commit that referenced this pull request Sep 23, 2020
…ionable information (#380) (#386)

Improving the logging of WorkspaceClientException to include more informative data in its message from its inner exception. This is a follow up to #378 .

- Instead of providing the full stack of the exception in the output, we extract more relevant fields from the source RestErrorException and provide them to the user.
- Also, this change exposes header "x-ms-request-id"if present in the response, for additional debugging.

Co-authored-by: Ricardo Espinoza <ricardoe@microsoft.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants