Rethrow error in init phase
This commit is contained in:
parent
8a9a7be0c7
commit
fe1cb9f439
@ -28,5 +28,6 @@ const init = require('./app');
|
|||||||
log.info('app', `Listening on http://localhost:${config.server.port}`);
|
log.info('app', `Listening on http://localhost:${config.server.port}`);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
log.error('app', 'Initialization failed!', err);
|
log.error('app', 'Initialization failed!', err);
|
||||||
|
throw err;
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
Loading…
Reference in New Issue
Block a user