From 5c7dbbaa3e664a9c0ed9a81d4769e4334ceb1f17 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..6fa8acf750 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);