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