Skip to content
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

Bug: try/catch doesn't work #41

Open
4 tasks done
MehediH opened this issue Aug 30, 2024 · 0 comments
Open
4 tasks done

Bug: try/catch doesn't work #41

MehediH opened this issue Aug 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MehediH
Copy link

MehediH commented Aug 30, 2024

Prerequisites

Describe the issue

When I try:

await kindeClient.login().catch((e) => console.log(e))

I expect the catch block to be triggered when there's an error, but instead, it throws. I tried wrapping it within a try/catch and it also doesn't wokr.

Library URL

https://github.com/kinde-oss/kinde-react-native-sdk-0-7x

Library version

1.3.1

Operating system(s)

Other (see “Further environment details”)

Operating system version(s)

n/a

Further environment details

No response

Reproducible test case URL

No response

Additional information

No response

@MehediH MehediH added the bug Something isn't working label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant