</span> <span class="nf">() -&gt;</span> <span class="nx">console</span><span class="p">.</span><span class="nx">error</span> <span class="s2">&quot;RabbitMQ connection closed&quot;</span><span class="p">)</span>
  <span class="p">.</span><span class="kc">on</span><span class="p">(</span><span class="s1">&#39;error&#39;</span><span class="p">,</span> <span class="nf">(err) -&gt;</span> <span class="nx">console</span><span class="p">.</span><span class="nx">error</span> <span class="s2">&quot;RabbitMQ error&