import Logger from './logger' ; import instancesChecker from './instances' ; import expressLoader from './express' ; export default async ( app ) => { try { await instancesChecker ( ) ; await expressLoader ( app ) ; Logger . info ( "Express loaded" ) ; } catch ( error ) { Logger . error ( "Error while loading Express" ) ; process . exit ( 1 ) ; } } ;