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

Enhance error handling in WalletConnectProvider #297

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

Ganbin
Copy link
Contributor

@Ganbin Ganbin commented Jan 22, 2025

Enhance error handling in WalletConnectProvider to include specific error reasons. Now captures additional error details when available, improving debugging and user feedback.

I realized that sometime the error come with a reason so it is better to show it to the user.

In my case it was {kind: "walletconnect", reason: "Wallet error: Coin selection error: no spendable coins"} So it is more clear than just "Request failed"

…rror reasons. Now captures additional error details when available, improving debugging and user feedback.
@Rigidity Rigidity merged commit fa3a1d0 into xch-dev:main Jan 22, 2025
6 of 8 checks passed
@Ganbin Ganbin deleted the fix-error-message-in-wallet-connect branch January 25, 2025 18:09
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.

2 participants