lib/bootstrap.js
function bootstrapError(component, e) {
  if (ERRORING_COMPONENTS.indexOf(component) === -1) {
    ERRORING_COMPONENTS.push(component);
    log('error', `Error bootstrapping component ${component}: ${e.message}`);
  }

  return bluebird.reject();
}
function bootstrapError(component, e) {
  if (ERRORING_COMPONENTS.indexOf(component) === -1) {
    ERRORING_COMPONENTS.push(component);
    log('error', `Error bootstrapping component ${component}: ${e.message}`);
  }

  return bluebird.reject();
}
function bootstrapError ( component , e ) { if ( ERRORING_COMPONENTS . indexOf ( component ) === - 1 ) { ERRORING_COMPONENTS . push ( component ) ; log ( 'error' , ` ${ component } ${ e . message } ` ) ; } return bluebird . reject ( ) ; }
Log a bootstrapping error for if one exists
for a component.

@param  {String} component
@param  {Error} e
@return {Promise}
Log a bootstrapping error for if one exists for a component .