Commit 830bb27
committed
fix: display appropriate error message on account status fetch failure outside of unauthorized access (#5595)
https://linear.app/thirdweb/issue/CNCT-2428/pro-upcade-ecosystem-wallet-restriction-not-working
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on improving error handling in the `get-enclave-user-status.ts` file by updating the error message thrown when fetching the account status fails.
### Detailed summary
- Updated the error message in `get-enclave-user-status.ts` from `result.error` to `result.message` when throwing an error for failed user status retrieval.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->1 parent b117cb1 commit 830bb27
File tree
2 files changed
+6
-1
lines changed- .changeset
- packages/thirdweb/src/wallets/in-app/core/actions
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments