From 03b42b3790e08fd289a64149320e34ae5ec20962 Mon Sep 17 00:00:00 2001 From: Lars Lauger Date: Thu, 22 Jun 2023 09:28:12 +0200 Subject: [PATCH] BUGFIX: Add default DSN from env var Using an env var instead of an empty string allows for a lot easier deployment scenarios, which is why there are already some env vars in use in this project. A sentry integration without DSN is invalid. So using a potentially empty env var here is equally bad as using an empty string as default from an "ready to go" standpoint. This allows for treating this as bugfix. see #24 --- Configuration/Settings.Dsn.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configuration/Settings.Dsn.yaml b/Configuration/Settings.Dsn.yaml index d288c1b..37ec8c8 100644 --- a/Configuration/Settings.Dsn.yaml +++ b/Configuration/Settings.Dsn.yaml @@ -1,3 +1,3 @@ Netlogix: Sentry: - dsn: '' + dsn: '%env:SENTRY_DSN%'