in src/Communicator.ts [188:197]
private async _sendCommand(request: SendCommandRequest): Promise<SendCommandResult> {
try {
const result = await this._qldbClient.sendCommand(request).promise();
debug(`Received response: ${inspect(result, { depth: 2 })}`);
return result;
} catch (e) {
warn(`Error sending a command: ${e}.`);
throw e;
}
}