Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🔧 Allow sentry config when env vars are missing (#1374)

Luke Vellab0e0a8f09c42
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 839b9c3d7..a8a9c9ce7 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -95,6 +95,7 @@ const sentryWebpackPluginOptions = {
const withBundleAnalyzerConfig = withBundleAnalyzer(nextConfig);
// Make sure adding Sentry options is the last code to run before exporting, to
// ensure that your source maps include changes from all other Webpack plugins
-module.exports = process.env.SENTRY_AUTH_TOKEN
- ? withSentryConfig(withBundleAnalyzerConfig, sentryWebpackPluginOptions)
- : withBundleAnalyzerConfig;
+module.exports = withSentryConfig(
+ withBundleAnalyzerConfig,
+ sentryWebpackPluginOptions,
+);