lib/rabbit-utils/create-app-connection.js
function errorHandler (app, err) {
  delete app.connection
  // log and adjust err message
  const msg = `"app.connection" unexpectedly errored: ${err.message}`
  debug(msg, err)
  err.message = msg
  // throw the error
  throw err
}
function errorHandler (app, err) {
  delete app.connection
  // log and adjust err message
  const msg = `"app.connection" unexpectedly errored: ${err.message}`
  debug(msg, err)
  err.message = msg
  // throw the error
  throw err
}
connection error handler