Skip to content

Commit ec71188

Browse files
refactor: logs
1 parent 7bdf66e commit ec71188

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

apps/integrated-tests/src/setup/rabbitmq/spy-consumer.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,8 @@ export class RabbitMQSpyConsumerManager implements SpyConsumerManager {
3131

3232
// Create connection if not exists
3333
if (!this.connection) {
34-
console.log('[SpyConsumer] Creating rabbitmq-client connection to:', url.replace(/\/\/[^:]+:[^@]+@/, '//***:***@'));
3534
this.connection = new Connection(url);
36-
37-
// Wait for connection to be ready
38-
try {
39-
await this.connection.onConnect(5000);
40-
console.log('[SpyConsumer] Connected successfully');
41-
} catch (error) {
42-
console.error('[SpyConsumer] Failed to connect:', error);
43-
throw error;
44-
}
35+
await this.connection.onConnect(5000);
4536
}
4637

4738
// Create a spy consumer that intercepts and requeues messages

0 commit comments

Comments
 (0)