Skip to content

Commit

Permalink
fix: sentry DSN not found issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-rocket committed Apr 5, 2021
1 parent 14fb386 commit 6a8b04b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .scripts/electron.env.ts
Expand Up @@ -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;
Expand All @@ -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 {
Expand Down

0 comments on commit 6a8b04b

Please sign in to comment.