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 - Push SDK/Dapp] - <Add a type to the Push SDK Error when User rejects unlock profile action> #1726

Open
corlard3y opened this issue Jul 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@corlard3y
Copy link
Collaborator

Expected Behaviour

We need to add a different response to the initializePushSDK function, so that we can handle the error correctly - ErrorUserRejected

Current Behaviour

The function returns ERROR or WARN as the only response when there is an error. we need to handle the error correctly

Reproduction steps

1. Go to app.push.org/points rewards
2. Connect wallet and unlock profile
3. When you reject, we handle the error with a response of ERROR and the error message
4. We need to modify this from the SDK to handle the reject error instead of using the general error response

Screenshots

![DESCRIPTION](LINK.png)

Relevant Logs

No response

Dapp Env

Prod (app.push.org), Staging (staging.push.org), Dev (dev.push.org)

Browsers

No response

@corlard3y corlard3y added the bug Something isn't working label Jul 12, 2024
@corlard3y corlard3y self-assigned this Jul 12, 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