From abd4a689f2007d3473f842d9f8f7ff4fd57361b7 Mon Sep 17 00:00:00 2001 From: Yanis JEDRZEJCZAK Date: Fri, 5 Apr 2024 16:00:24 +0200 Subject: [PATCH] logging cron error --- src/common/config/variables/Variables.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/config/variables/Variables.ts b/src/common/config/variables/Variables.ts index c6c44c8a..39628530 100644 --- a/src/common/config/variables/Variables.ts +++ b/src/common/config/variables/Variables.ts @@ -200,8 +200,8 @@ export class BackendVariables { if (process.env["ENV"] === "dev" || process.env["ENV"] === "stg") { throw error; } - console.error(error); - throw new Error("Some env variables are required!"); + throw new Error(error); + // throw new Error("Some env variables are required!"); } return this; }