@seidor-cloud-produtos/orbit-backend-lib 2.0.116 → 2.0.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -349,12 +349,7 @@ class AmqpQueue {
|
|
|
349
349
|
async treatReconnection(vHost) {
|
|
350
350
|
this.logger.info('⛔ Connection Error!!');
|
|
351
351
|
this.logger.info(`🔄 Try connection to the vHost ${vHost}`);
|
|
352
|
-
|
|
353
|
-
await this.close();
|
|
354
|
-
}
|
|
355
|
-
catch (error) {
|
|
356
|
-
this.logger.error('⛔ Error while closing the connection');
|
|
357
|
-
}
|
|
352
|
+
await this.close().catch(() => null);
|
|
358
353
|
AmqpQueue.instance = await this.connect(vHost);
|
|
359
354
|
await this.reconnectionChannels();
|
|
360
355
|
await this.publishMessagesOfMemory();
|