Skip to content

Commit

Permalink
[FIX]: Remove Trustchain from error and handle it in generic way (#7725)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcayuelas-ledger committed Sep 3, 2024
1 parent e1d6d7d commit b2c4c51
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/empty-pumas-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"ledger-live-desktop": patch
"live-mobile": patch
---

Update errors in trad
7 changes: 7 additions & 0 deletions apps/ledger-live-desktop/static/i18n/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -5695,6 +5695,13 @@
"title": "Something went wrong. Please reconnect your device",
"description": "{{message}}"
},
"TrustchainEjected": {
"title": "Not Synced anymore"
},
"TrustchainNotAllowed": {
"title": "You are not in sync anymore",
"description": "Please try again or contact Ledger Support."
},
"TrustchainNotFound": {
"title": "Something went wrong while fetching your data",
"description": "Please try again or contact Ledger Support."
Expand Down
9 changes: 7 additions & 2 deletions apps/ledger-live-mobile/src/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,13 @@
"description": "The server could not handle your request. Please try again later or contact Ledger Support.",
"errorCode": "Code: {{errorCode}}"
},
"TrustchainEjected": {
"title": "Not Synced anymore"
},
"TrustchainNotAllowed": {
"title": "You are not in sync anymore",
"description": "Please try again or contact Ledger Support."
},
"TrustchainNotFound": {
"title": "Something went wrong while fetching your data",
"description": "Please try again or contact Ledger Support."
Expand Down Expand Up @@ -6818,8 +6825,6 @@
},
"errors": {
"fetching": "Something went wrong while fetching your synchronized instances.",
"trustchain": "Unexpected falsy trustchain",
"memberCredentials": "Unexpected falsy member credentials",
"ledgerSyncUnavailable": "Ledger Sync is currently unavailable. This doesn’t have any impact on your assets."
}
},
Expand Down

0 comments on commit b2c4c51

Please sign in to comment.