mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Fix error message for ledger signing
This commit is contained in:
parent
feab4cc48a
commit
87678c58ac
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@
|
|||
else {
|
||||
bridge.sendCommand('test', null, 5)
|
||||
.catch(function (reason) {
|
||||
if (reason.message === "Sign failed")
|
||||
if (reason.name === "TransportError")
|
||||
reason = "Have you forgot to activate browser support in your ledger app?";
|
||||
Write('hw', 'error', reason);
|
||||
})
|
||||
|
|
|
@ -135,7 +135,7 @@ $(function () {
|
|||
bridge.sendCommand('test', null, 5)
|
||||
.catch(function (reason)
|
||||
{
|
||||
if (reason.message === "Sign failed")
|
||||
if (reason.name === "TransportError")
|
||||
reason = "Are you running the ledger app with version equals or above 1.2.4?";
|
||||
Write('hw', 'error', reason);
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue