File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 44 'dsn ' => env ('SENTRY_LARAVEL_DSN ' ),
55
66 // capture release as git sha
7- // 'release' => trim(exec('git log --pretty="%h" -n1 HEAD')),
7+ // 'release' => trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')),
88
99 // Capture bindings on SQL queries
1010 'breadcrumbs.sql_bindings ' => true ,
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public function boot()
2323 {
2424 // Publish the configuration file
2525 $ this ->publishes (array (
26- __DIR__ . '/config.php ' => config_path (static ::$ abstract . '.php ' ),
26+ __DIR__ . '/../../../ config/sentry .php ' => config_path (static ::$ abstract . '.php ' ),
2727 ), 'config ' );
2828
2929 $ this ->bindEvents ($ this ->app );
@@ -69,7 +69,7 @@ protected function bindEvents($app)
6969 */
7070 public function register ()
7171 {
72- $ this ->mergeConfigFrom (__DIR__ . '/config.php ' , static ::$ abstract );
72+ $ this ->mergeConfigFrom (__DIR__ . '/../../../ config/sentry .php ' , static ::$ abstract );
7373
7474 $ this ->app ->singleton (static ::$ abstract , function ($ app ) {
7575 $ user_config = $ app ['config ' ][static ::$ abstract ];
You can’t perform that action at this time.
0 commit comments