Skip to content

Commit

Permalink
Logs the transaction object
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantina Blazhukova <[email protected]>
  • Loading branch information
konstantinabl committed Oct 22, 2024
1 parent 92f5b6a commit 1e37cc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/relay/src/lib/clients/sdkClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,8 @@ export class SDKClient {
requestDetails.formattedRequestId
} Logging more info about failed transaction LogID: ${transaction._getLogId()} Max attempts: ${
transaction._maxAttempts
}, Grpc deadline ${transaction._grpcDeadline}, NodeIds ${transaction.nodeAccountIds} `,
}, Grpc deadline ${transaction._grpcDeadline}, NodeIds ${transaction.nodeAccountIds} ${this.clientMain}
Tranasaction ${transaction} `,
);

Check warning on line 746 in packages/relay/src/lib/clients/sdkClient.ts

View check run for this annotation

Codecov / codecov/patch

packages/relay/src/lib/clients/sdkClient.ts#L746

Added line #L746 was not covered by tests
this.logger.warn(
sdkClientError,
Expand Down

0 comments on commit 1e37cc6

Please sign in to comment.