From 4cf0fe000fef4c00fe290b31d0b70221eb3356ee Mon Sep 17 00:00:00 2001 From: aldousalvarez Date: Fri, 6 Dec 2024 20:04:03 +0800 Subject: [PATCH] connector fabric --- .../src/main/typescript/plugin-ledger-connector-fabric.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/plugin-ledger-connector-fabric.ts b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/plugin-ledger-connector-fabric.ts index 89a0fa9e44..92c616abfc 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/plugin-ledger-connector-fabric.ts +++ b/packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/plugin-ledger-connector-fabric.ts @@ -312,7 +312,8 @@ export class PluginLedgerConnectorFabric const sshConfigString = sshConfigBuffer.toString("utf-8"); this.sshConfig = JSON.parse(sshConfigString); } else { - throw new Error("Cannot instantiate Fabric connector without SSH config"); + this.sshConfig = {}; + this.sshDebugOn == false; } if (this.sshDebugOn) { this.sshConfig = this.enableSshDebugLogs(this.sshConfig);