Skip to content

Properly throw MsalServiceError exception - #820

Merged
Ray Luo (rayluo) merged 1 commit into
devfrom
raise-for-status
May 15, 2025
Merged

Ray Luo (rayluo) merged 1 commit into
devfrom
raise-for-status

Conversation

@rayluo

Copy link
Copy Markdown
Contributor

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
Ray Luo (rayluo) requested a review from a team as a code owner May 8, 2025 06:57
Comment thread msal/exceptions.py
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