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

Feature Request: TransactionStatusLabel should show user friendly message for the common error cases/codes #962

Open
dry-tortuga opened this issue Jul 31, 2024 · 2 comments
Assignees

Comments

@dry-tortuga
Copy link

Describe the solution you'd like

Right now, the TransactionStatusLabel and TransactionStatusAction components display the text "Something went wrong. Please try again." regardless of the type of error encountered.

It would be nice if it could be updated to automatically handle common error cases/codes, such as this error message when the account does not have enough ETH to cover the expected cost of gas + value for the transaction:

Screenshot from 2024-07-31 15-06-35

There's probably others too I'll run into as I use this more!

Describe alternatives you've considered.

No response

@dry-tortuga
Copy link
Author

I just noticed that I only get this behavior using a non-smart wallet, i.e. Coinbase browser extension...

The smart wallet has that user friendly error message built-in!

@Zizzamia
Copy link
Contributor

Zizzamia commented Aug 1, 2024

Thank you for pointing this out. We will take a look on this.

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

No branches or pull requests

3 participants