-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: log error responses returned by Zitadel (#584)
When we receive an error response on an introspection call, for example a 503, we previously returned a ParseError as the response was not valid JSON. This change adds a new error type ZitadelResponseError which handles such cases by logging the status code and body of the error response. This is a breaking change as we add a Variant to the error enum which needs to be handled by the user. Co-authored-by: Jakob Herpel <[email protected]> Co-authored-by: Christoph Bühler <[email protected]>
- Loading branch information
1 parent
e550ba3
commit de1c389
Showing
1 changed file
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters