Disable flag, update packages.

This commit is contained in:
James Cole 2021-06-05 07:38:49 +02:00
parent 38dcb96086
commit fa50f76f5d
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D
4 changed files with 165 additions and 1168 deletions

View File

@ -138,14 +138,6 @@ class Handler extends ExceptionHandler
*/
public function report(Throwable $e)
{
// do sentry (telemetry)
if (!(false === config('firefly.send_telemetry') || false === config('firefly.feature_flags.telemetry'))) {
if (app()->bound('sentry') && $this->shouldReport($e)) {
app('sentry')->captureException($e);
}
}
// do email the user (no telemetry)
$doMailError = config('firefly.send_error_message');
if ($this->shouldntReportLocal($e) || !$doMailError) {

View File

@ -101,7 +101,6 @@
"predis/predis": "^1.1",
"ramsey/uuid": "^4.1",
"rcrowe/twigbridge": "^0.12.1",
"sentry/sentry-laravel": "^2.6",
"spatie/data-transfer-object": "^3.1"
},
"require-dev": {

1322
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -97,7 +97,7 @@ return [
// some feature flags:
'feature_flags' => [
'export' => true,
'telemetry' => true,
'telemetry' => false,
'webhooks' => false,
'handle_debts' => true,
],