firefly
firefly copied to clipboard
[Task]: Improve error handling when ledger error
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