Skip to content

Properly throw MsalServiceError exception #820

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

Merged
merged 1 commit into from
May 15, 2025
Merged

Properly throw MsalServiceError exception #820

merged 1 commit into from
May 15, 2025

Conversation

rayluo
Copy link
Collaborator

@rayluo rayluo commented May 8, 2025

MSAL Python defined a MsalServiceError exception for years but did not actually use/throw it, until recently. This PR refactors the usage of this exception so that it is used properly. Comes with test cases.

@rayluo rayluo requested a review from a team as a code owner May 8, 2025 06:57
@rayluo rayluo force-pushed the raise-for-status branch from 3390e8c to 62855d4 Compare May 15, 2025 23:36
@rayluo rayluo merged commit 62855d4 into dev May 15, 2025
18 checks passed
@rayluo rayluo deleted the raise-for-status branch May 15, 2025 23:50
@rayluo rayluo linked an issue May 16, 2025 that may be closed by this pull request
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] KeyError: 'error' when receiving a 400+ status code
4 participants