Skip to content

Update errors.md to fix code example issue#2086

Merged
andrueastman merged 1 commit into
microsoftgraph:devfrom
guanlx:guanlx-patch-1
Aug 21, 2023
Merged

Update errors.md to fix code example issue#2086
andrueastman merged 1 commit into
microsoftgraph:devfrom
guanlx:guanlx-patch-1

Conversation

@guanlx
Copy link
Copy Markdown
Contributor

@guanlx guanlx commented Aug 21, 2023

Convert HttpStatusCode.NotFound to INT before comparing with odataError.ResponseStatusCode

Fixes #2085

Changes proposed in this pull request

  • Convert HttpStatusCode.NotFound to INT before comparing with odataError.ResponseStatusCode
Microsoft Reviewers: Open in CodeFlow

Convert HttpStatusCode.NotFound to INT before comparing with odataError.ResponseStatusCode
@guanlx guanlx requested a review from a team as a code owner August 21, 2023 08:04
@andrueastman andrueastman enabled auto-merge August 21, 2023 08:38
Copy link
Copy Markdown
Contributor

@andrueastman andrueastman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @guanlx

@andrueastman andrueastman merged commit 74d64fc into microsoftgraph:dev Aug 21, 2023
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.

Code example in errors.md does not handle errors correctly

2 participants