Skip to content

Commit

Permalink
Updated sentry config
Browse files Browse the repository at this point in the history
Signed-off-by: Felix <github@fbrettnich.de>
  • Loading branch information
fbrettnich committed May 13, 2024
1 parent e6cfe2d commit 9f7a582
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.example
Expand Up @@ -5,6 +5,7 @@ APP_DEBUG=true
APP_URL=http://localhost

SENTRY_LARAVEL_DSN=
SENTRY_TRACES_SAMPLE_RATE=1.0

LOG_CHANNEL=stack
LOG_LEVEL=debug
Expand Down
2 changes: 1 addition & 1 deletion config/sentry.php
Expand Up @@ -5,7 +5,7 @@
'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')),

// capture release as git sha
// 'release' => trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')),
'release' => trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')),

// When left empty or `null` the Laravel environment will be used
'environment' => env('SENTRY_ENVIRONMENT'),
Expand Down

0 comments on commit 9f7a582

Please sign in to comment.