Steps to Reproduce
- Have ledger vault configured with a low value for
close_after
- Start signatory
- Wait longer than
close_after until ledger screen saver activates
- Query a key:
curl <signatory>:6732/keys/<pkh>
Expected
A helpful error message like:
[{"id":"failure","kind":"temporary","msg":"this key not found in any vault. Please unlock the Ledger device; it could not be queried."}]
Actual
% curl localhost:6732/keys/tz2GLxED2Nx5Mtii3dFXhcHy4Rt8cHMBtpYb
[{"id":"failure","kind":"temporary","msg":"(Ledger/): [0x6400]: Unknown error"}]
The 0x6400 error code from the Ledger is not translated into a user-friendly message.
Steps to Reproduce
close_afterclose_afteruntil ledger screen saver activatescurl <signatory>:6732/keys/<pkh>Expected
A helpful error message like:
[{"id":"failure","kind":"temporary","msg":"this key not found in any vault. Please unlock the Ledger device; it could not be queried."}]Actual
The
0x6400error code from the Ledger is not translated into a user-friendly message.