From 1bb72200c88386679b053d6a8e8b589a623d3ee5 Mon Sep 17 00:00:00 2001 From: Sebastian Streich Date: Tue, 22 Nov 2022 19:21:52 +0100 Subject: [PATCH] linting --- src/constants.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/constants.h b/src/constants.h index 84e8ebf2bcc..98c95fd4c29 100644 --- a/src/constants.h +++ b/src/constants.h @@ -86,14 +86,13 @@ CONSTEXPR(uint32_t, controllerPeriodicStateRecorderMsec, 10800000, 60000, 0) inline type functionName() { return inProduction() ? prod : beta; } #ifdef SENTRY_ENABLED - constexpr const char* SENTRY_DSN_ENDPOINT = SENTRY_DSN; - constexpr const char* SENTRY_ENVELOPE_INGESTION = SENTRY_ENVELOPE_ENDPOINT; -#else - constexpr const char* SENTRY_DSN_ENDPOINT = ""; - constexpr const char* SENTRY_ENVELOPE_INGESTION = ""; +constexpr const char* SENTRY_DSN_ENDPOINT = SENTRY_DSN; +constexpr const char* SENTRY_ENVELOPE_INGESTION = SENTRY_ENVELOPE_ENDPOINT; +#else +constexpr const char* SENTRY_DSN_ENDPOINT = ""; +constexpr const char* SENTRY_ENVELOPE_INGESTION = ""; #endif - constexpr const char* API_PRODUCTION_URL = "https://vpn.mozilla.org"; constexpr const char* API_STAGING_URL = "https://stage-vpn.guardian.nonprod.cloudops.mozgcp.net";