diff --git a/config/ninja.php b/config/ninja.php index 358d25949ab8..47c255d61031 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -30,6 +30,7 @@ return [ 'phantomjs_key' => env('PHANTOMJS_KEY', false), 'phantomjs_secret' => env('PHANTOMJS_SECRET', false), + 'sentry_dsn' => env('SENTRY_LARAVEL_DSN', 'https://b36c3ae4f26b45689bc3d4e3774fb303@sentry.invoicing.co/4'), 'environment' => env('NINJA_ENVIRONMENT', 'selfhost'), // 'hosted', 'development', 'selfhost', 'reseller' // Settings used by invoiceninja.com diff --git a/config/sentry.php b/config/sentry.php index e428cbbce513..2669e086fa37 100644 --- a/config/sentry.php +++ b/config/sentry.php @@ -2,8 +2,8 @@ return [ - 'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')), - + //'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')), + 'dsn' => config('ninja.sentry_dsn'), // capture release as git sha // 'release' => trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')),