Rethrow error in init phase

This commit is contained in:
Thomas Oberndörfer 2021-05-08 17:07:50 +02:00
parent 8a9a7be0c7
commit fe1cb9f439
1 changed files with 1 additions and 0 deletions

View File

@ -28,5 +28,6 @@ const init = require('./app');
log.info('app', `Listening on http://localhost:${config.server.port}`);
} catch (err) {
log.error('app', 'Initialization failed!', err);
throw err;
}
})();