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

chore: Update missing address error handling #1430

Merged
merged 5 commits into from
Oct 17, 2024

Conversation

cpcramer
Copy link
Contributor

@cpcramer cpcramer commented Oct 16, 2024

What changed? Why?
Updating our Identity components to error log and return null when the wallet address is missing when rendering as opposed to throwing the error.

Throwing an error is disruptive, it's a better user experience to log the problem and just return null than stop the program and show the following screen:

image

Notes to reviewers

How has it been tested?

@cpcramer cpcramer force-pushed the paul/unexpected-application-error-fix branch from dddb247 to dfda5ec Compare October 17, 2024 18:09
Copy link

vercel bot commented Oct 17, 2024

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

Name Status Preview Comments Updated (UTC)
onchainkit-coverage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 6:30pm
onchainkit-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 6:30pm
onchainkit-routes ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2024 6:30pm

@cpcramer cpcramer merged commit b5b8425 into main Oct 17, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants