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

View File

@ -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;
} }
})(); })();