Reconfigure the way we pass Sentry DSN

This commit is contained in:
David Bomba 2020-08-19 14:48:37 +10:00
parent 9215f895c2
commit 2975adc0e5
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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')),