From fe1cb9f439b74ac3809ca856d41b41704c6c6ce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Obernd=C3=B6rfer?= Date: Sat, 8 May 2021 17:07:50 +0200 Subject: [PATCH] Rethrow error in init phase --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index 05c247d..3e111f0 100644 --- a/src/index.js +++ b/src/index.js @@ -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; } })();