Fixes https://github.com/moleculerjs/moleculer-channels/issues/49Issue
AMQP adapter has specific logic to handle the reconnection and you call the subscribe() method that tries init an entry to track active messages. However, it already exists so it throws an error.
Solution
By adding a toThrow flag we can skip the Error and thus allow AMQP adapter to reconnect
Fixes https://github.com/moleculerjs/moleculer-channels/issues/49 Issue AMQP adapter has specific logic to handle the reconnection and you call the subscribe() method that tries init an entry to track active messages. However, it already exists so it throws an error.
Solution By adding a
toThrow
flag we can skip the Error and thus allow AMQP adapter to reconnect