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

fix: better errors text for WalletConnect #2308

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

dianasavvatina
Copy link
Contributor

@dianasavvatina dianasavvatina commented Jan 3, 2025

Proposed changes

If the error from the blockchain is not "translated" to human reable text, currently the error text is visible in the logs only which is inconvenient.

Something went wrong. Please try again or contact support if the issue persists.

Changed this to a more informative, e.g.:

Tezos blockchain rejected the transaction: contract.manager.unregistered_delegate. Please try again or contact support if the issue persists.

It's way more helpful.

Types of changes

  • Bugfix
  • New feature
  • Refactor
  • Breaking change
  • UI fix

Steps to reproduce

Generate a new type of error and see the toast. Or comment out handling of double delegation and delegate to the same address twice to see the error.

Screenshots

Add the screenshots of how the app used to look like and how it looks now

Before:
image

Now:
image

Error log:

Before:
image

Now:
image

Checklist

  • Tests that prove my fix is effective or that my feature works have been added
  • Documentation has been added (if appropriate)
  • Screenshots are added (if any UI changes have been made)
  • All TODOs have a corresponding task created (and the link is attached to it)

Copy link

vercel bot commented Jan 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
umami-embed-iframe ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 3, 2025 4:53pm
umami-embed-iframe-ghostnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 3, 2025 4:53pm
umami-v2-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 3, 2025 4:53pm
umami-v2-web-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 3, 2025 4:53pm

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

Successfully merging this pull request may close these issues.

1 participant