Agoric / dapp-inter

User application for Agoric Inter Protocol—Vaults, BLD Boost, Liquidations, etc.
2 stars 7 forks source link

feat: show more informative rpc error #216

Closed samsiegart closed 6 months ago

samsiegart commented 6 months ago

refs https://github.com/Agoric/agoric-sdk/issues/8505 fixes https://github.com/Agoric/ui-kit/issues/57

This uses the new @agoric/rpc and @agoric/web-components to make some improvements to error handling as a precursor to the node selector. The new package versions have a few improvements:

With all these changes, the dapp can now more gracefully and confidently handle server errors and show a more informative dialog instead of crashing with an unhelpful error message on the screen. In the future we can prompt the user to select a different node in this case, but for now just the dialog is being added.

Screenshot

image

github-actions[bot] commented 6 months ago

Network: Commit: b01aa28ae56eb67eeb2abbfa83c20edb58fe8e64 Ref: refs/heads/main IPFS v1 hash: bafybeify656qb5s6lkwsqpych2k7bwtgpp3i7uqv3rhy33q5usa3ayzxfy CF - DWeb - 4EVERLAND