mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-07 18:37:55 +00:00
Rename the variable so there is no doubt what it does.
This commit is contained in:
@@ -281,7 +281,9 @@ TRACKER_URL=
|
||||
# This is entirely optional of course. If you run into errors, I will gladly accept GitHub
|
||||
# issues or a forwared email message.
|
||||
#
|
||||
TRACK_ERRORS=false
|
||||
# If you set this to true, your installation will try to contact sentry.io when it runs into errors.
|
||||
#
|
||||
REPORT_ERRORS_ONLINE=false
|
||||
|
||||
#
|
||||
# Firefly III supports webhooks. These are security sensitive and must be enabled manually first.
|
||||
|
||||
@@ -85,7 +85,7 @@ class Handler extends ExceptionHandler
|
||||
#[Override]
|
||||
public function register(): void
|
||||
{
|
||||
if (true === config('firefly.track_errors')) {
|
||||
if (true === config('firefly.report_errors_online')) {
|
||||
$this->reportable(function (Throwable $e): void {
|
||||
Integration::captureUnhandledException($e);
|
||||
});
|
||||
|
||||
@@ -107,7 +107,7 @@ return [
|
||||
'demo_password' => env('DEMO_PASSWORD', ''),
|
||||
'tracker_site_id' => env('TRACKER_SITE_ID', ''),
|
||||
'tracker_url' => env('TRACKER_URL', ''),
|
||||
'track_errors' => env('TRACK_ERRORS', false),
|
||||
'report_errors_online' => env('REPORT_ERRORS_ONLINE', false),
|
||||
|
||||
// authentication settings
|
||||
'authentication_guard' => envNonEmpty('AUTHENTICATION_GUARD', 'web'),
|
||||
|
||||
Reference in New Issue
Block a user