iotaledger / iotaledger/firefly
[Task]: Improve error handling when ledger error
Open
stardust
type:chore
- Dominant language
- TypeScript
- Stars
- 478
- Forks
- 100
- PR merge metrics
- No merged PRs in 30d
Description
### Task description
Currently we always treat errors as ledger errors if the active profile is ledger profile type.
We need to take into account that the error could also be another error instead of a ledger error when we have a ledger onboarding profile.
https://github.com/iotaledger/firefly/blob/a4d61b63270c1706f9449d5c9e8e8d95a5d94d78/packages/shared/lib/core/wallet/actions/claimActivity.ts#L23
### Requirements
TBD
### Creation checklist
- [ ] I have assigned this task to the correct people
- [X] I have added the most appropriate labels
- [X] I have linked the correct milestone and/or project
Contributor guide
Assessment
This issue has not been assessed yet.