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

Added error output handling for Graph calls #1923

Merged
merged 3 commits into from
Jun 1, 2022

Conversation

KoenZomers
Copy link
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample
  • Improvement

Related Issues?

#1875

What is in this Pull Request ?

Rewrote the Graph Helper to detect for non successful responses and return the response body as an exception so details can be seen on why it went wrong. Cleaned up various code where this was being done on a cmdlet base instead of on a general level as is now implemented.

@gautamdsheth gautamdsheth merged commit 6e22c84 into pnp:dev Jun 1, 2022
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

Successfully merging this pull request may close these issues.

[BUG] MS Graph Http Post operations does not show exceptions when operation fails.
2 participants