mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-06 00:49:42 -06:00
chore: conditionally enable Sentry plugin based on authentication token (#6502)
This commit is contained in:
committed by
GitHub
parent
23143c8664
commit
892b55662e
@@ -439,6 +439,6 @@ const sentryOptions = {
|
||||
|
||||
// Always enable Sentry plugin to inject Debug IDs
|
||||
// Runtime Sentry reporting still depends on DSN being set via environment variables
|
||||
const exportConfig = withSentryConfig(nextConfig, sentryOptions);
|
||||
const exportConfig = process.env.SENTRY_AUTH_TOKEN ? withSentryConfig(nextConfig, sentryOptions) : nextConfig;
|
||||
|
||||
export default exportConfig;
|
||||
|
||||
Reference in New Issue
Block a user