Skip to content

Commit

Permalink
bug(dast):ccp, sshconfig missing
Browse files Browse the repository at this point in the history
Primary Changes
----------------
1. Fix the issue on plugin-ledger-connector-fabric that throws an error when
there is no sshConfig available.

Fixes #3671

Signed-off-by: raynato.c.pedrajeta <[email protected]>
  • Loading branch information
raynatopedrajeta committed Dec 6, 2024
1 parent c66a1c6 commit ba270e1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.log.debug("No sshConfig available")
this.sshConfig = {}
}
if (this.sshDebugOn) {
this.sshConfig = this.enableSshDebugLogs(this.sshConfig);
Expand Down

0 comments on commit ba270e1

Please sign in to comment.