From c01233b4d663aefece26dbb86f8b6bcd5c916325 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Sat, 6 Mar 2021 13:51:24 +0100 Subject: [PATCH] Added console logging when a testing env get's discovered ref #154 --- src/app.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app.ts b/src/app.ts index 6e814b3..9bb6803 100644 --- a/src/app.ts +++ b/src/app.ts @@ -20,6 +20,9 @@ const app = createExpressServer({ async function main() { await loaders(app); + if (config.testing) { + consola.info("🛠[config]: Discovered testing env. Mailing errors will get ignored!") + } app.listen(config.internal_port, () => { consola.success( `⚡️[server]: Server is running at http://localhost:${config.internal_port}`