Commit 7e9328fc authored by Christopher Fullarton's avatar Christopher Fullarton

Adds checks if the amqp channel has an error and inits the connection again

parent 3ebd7e09
Pipeline #30822 passed with stages
in 2 minutes and 38 seconds
......@@ -34,6 +34,7 @@ class AMQPConnector {
this._channel = await this._connection.createChannel();
this._channel.on('error', error => {
console.error('Exception in amqp channel occured', error);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment