We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4781602 commit 3388700Copy full SHA for 3388700
ironfish-cli/src/ledger/ledger.ts
@@ -3,6 +3,7 @@
3
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
import { Assert } from '@ironfish/sdk'
5
import {
6
+ DisconnectedDevice,
7
DisconnectedDeviceDuringOperation,
8
StatusCodes,
9
TransportStatusError,
@@ -53,6 +54,8 @@ export class Ledger {
53
54
throw new LedgerConnectError()
55
} else if (e instanceof DisconnectedDeviceDuringOperation) {
56
57
+ } else if (e instanceof DisconnectedDevice) {
58
+ throw new LedgerConnectError()
59
}
60
61
if (error instanceof TransportStatusError) {
0 commit comments