From 25d31e711558ff7ff60c658959b735cc0bdac613 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Thu, 6 Oct 2022 21:30:48 +0200 Subject: [PATCH] mod telescope --- app/Providers/TelescopeServiceProvider.php | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/app/Providers/TelescopeServiceProvider.php b/app/Providers/TelescopeServiceProvider.php index f3c23657..03fd9f1a 100644 --- a/app/Providers/TelescopeServiceProvider.php +++ b/app/Providers/TelescopeServiceProvider.php @@ -17,20 +17,18 @@ class TelescopeServiceProvider extends TelescopeApplicationServiceProvider */ public function register() { - // Telescope::night(); + Telescope::night(); $this->hideSensitiveRequestDetails(); Telescope::filter(function (IncomingEntry $entry) { - if ($this->app->environment('local')) { - return true; - } + return true; - return $entry->isReportableException() || - $entry->isFailedRequest() || - $entry->isFailedJob() || - $entry->isScheduledTask() || - $entry->hasMonitoredTag(); + // return $entry->isReportableException() || + // $entry->isFailedRequest() || + // $entry->isFailedJob() || + // $entry->isScheduledTask() || + // $entry->hasMonitoredTag(); }); }