mod telescope
continuous-integration/drone/push Build is passing Details

This commit is contained in:
philipp lang 2022-10-06 21:30:48 +02:00
parent f10764dbb1
commit 25d31e7115
1 changed files with 7 additions and 9 deletions

View File

@ -17,20 +17,18 @@ class TelescopeServiceProvider extends TelescopeApplicationServiceProvider
*/ */
public function register() public function register()
{ {
// Telescope::night(); Telescope::night();
$this->hideSensitiveRequestDetails(); $this->hideSensitiveRequestDetails();
Telescope::filter(function (IncomingEntry $entry) { Telescope::filter(function (IncomingEntry $entry) {
if ($this->app->environment('local')) { return true;
return true;
}
return $entry->isReportableException() || // return $entry->isReportableException() ||
$entry->isFailedRequest() || // $entry->isFailedRequest() ||
$entry->isFailedJob() || // $entry->isFailedJob() ||
$entry->isScheduledTask() || // $entry->isScheduledTask() ||
$entry->hasMonitoredTag(); // $entry->hasMonitoredTag();
}); });
} }