Skip to content

Commit

Permalink
fix: nestjs tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eddort committed Mar 29, 2023
1 parent 0ae8732 commit a6263af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport/transport.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export type SASLMechanism = 'plain' | 'scram-sha-256' | 'scram-sha-512';

const transport = new StompTransport(stompClient);

stompClient.connect().catch((error) => {
stompClient.connect()?.catch((error) => {
logger.error('STOMP connection error', error);
});

Expand Down

0 comments on commit a6263af

Please sign in to comment.