Skip to content

Conversation

@joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented Apr 17, 2025


PR-Codex overview

This PR focuses on improving the error handling in the getUser function by providing a more informative error message when the request fails.

Detailed summary

  • Updated error handling in getUser in packages/thirdweb/src/wallets/in-app/core/users/getUser.ts to include status and status text in the error message.
  • Modified the test in packages/thirdweb/src/wallets/in-app/core/users/getUser.test.ts to expect the new detailed error message.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@vercel
Copy link

vercel bot commented Apr 17, 2025

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

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 8:58pm
login ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 8:58pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 8:58pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 8:58pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 8:58pm

@changeset-bot
Copy link

changeset-bot bot commented Apr 17, 2025

🦋 Changeset detected

Latest commit: 2b3895e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
thirdweb Patch
@thirdweb-dev/wagmi-adapter Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@joaquim-verges joaquim-verges marked this pull request as ready for review April 17, 2025 20:36
@joaquim-verges joaquim-verges requested review from a team as code owners April 17, 2025 20:36
@github-actions github-actions bot added packages SDK Involves changes to the thirdweb SDK labels Apr 17, 2025
Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 17, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 50.52 KB (-0.09% 🔽) 1.1 s (-0.09% 🔽) 303 ms (+207.9% 🔺) 1.4 s
thirdweb (cjs) 138.75 KB (+0.02% 🔺) 2.8 s (+0.02% 🔺) 489 ms (+83.87% 🔺) 3.3 s
thirdweb (minimal + tree-shaking) 5.59 KB (0%) 112 ms (0%) 168 ms (+2441.22% 🔺) 280 ms
thirdweb/chains (tree-shaking) 514 B (0%) 11 ms (0%) 113 ms (+4558.93% 🔺) 123 ms
thirdweb/react (minimal + tree-shaking) 19.36 KB (0%) 388 ms (0%) 133 ms (+482.5% 🔺) 520 ms

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

Labels

packages SDK Involves changes to the thirdweb SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants