From 6a8b04b7dfc3a846097229ebd6c945c0a9d24c24 Mon Sep 17 00:00:00 2001 From: RAHUL RATHORE Date: Mon, 5 Apr 2021 09:58:32 +0530 Subject: [PATCH] fix: sentry DSN not found issue --- .scripts/electron.env.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.scripts/electron.env.ts b/.scripts/electron.env.ts index 1abf1113dd..3a0f9b7621 100644 --- a/.scripts/electron.env.ts +++ b/.scripts/electron.env.ts @@ -4,6 +4,7 @@ import { writeFile, unlinkSync } from 'fs'; import { argv } from 'yargs'; +import { env } from './env'; const environment = argv.environment; const desktop = argv.desktop; @@ -17,7 +18,7 @@ if (isProd) { API_DEFAULT_PORT: 5620, GAUZY_UI_DEFAULT_PORT: 5621, SCREENSHOTS_ENGINE_METHOD: 'ScreenshotDesktopLib', // ElectronDesktopCapturer || ScreenshotDesktopLib - SENTRY_DSN: '${process.env.SENTRY_DSN}' + SENTRY_DSN: '${env.SENTRY_DSN}' } `; try {