Commit b1138c54 authored by Radosław Masłowski's avatar Radosław Masłowski
Browse files

MR !803 Thread #10/#14: Add AccountNotFoundError handling in ShowWitnesses

Wrap result_or_raise in try-except to catch CoreAccountNotFoundError
and raise AccountNotFoundError. Also check if accounts list is empty
before accessing accounts[0].

🤖 Generated with [Claude Code](https://claude.com/claude-code

)

Co-Authored-By: default avatarClaude Opus 4.5 <noreply@anthropic.com>
parent 0ef2347b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment