Skip to content

Conversation

@arthuracs
Copy link

@arthuracs arthuracs commented Sep 17, 2024

  • Throws a custom FronteggError including the frontegg-trace-id when Zod parsing fails on fetchAccessTokenByCookie.
  • Conditionally includes the original response body keys in the error if the response is an object

@arthuracs arthuracs changed the title Throw a custom error when parsing the Frontegg response fails feat: throw a custom error when parsing the Frontegg response fails Sep 17, 2024
@arthuracs arthuracs marked this pull request as ready for review September 17, 2024 14:11
@arthuracs arthuracs requested a review from a team as a code owner September 17, 2024 14:11
@arthuracs arthuracs merged commit 030b97a into main Sep 19, 2024
@lokalise-engineering
Copy link

🎉 This issue has been resolved in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants