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