Don't filter anything
All checks were successful
Push image to registry / build-image (push) Successful in 3m43s
All checks were successful
Push image to registry / build-image (push) Successful in 3m43s
This commit is contained in:
@@ -21,12 +21,17 @@ class TelescopeServiceProvider extends TelescopeApplicationServiceProvider
|
|||||||
$isLocal = $this->app->environment('local');
|
$isLocal = $this->app->environment('local');
|
||||||
|
|
||||||
Telescope::filter(function (IncomingEntry $entry) use ($isLocal) {
|
Telescope::filter(function (IncomingEntry $entry) use ($isLocal) {
|
||||||
return $isLocal ||
|
return true;
|
||||||
|
/* $isLocal ||
|
||||||
$entry->isReportableException() ||
|
$entry->isReportableException() ||
|
||||||
$entry->isFailedRequest() ||
|
$entry->isFailedRequest() ||
|
||||||
$entry->isFailedJob() ||
|
$entry->isFailedJob() ||
|
||||||
$entry->isScheduledTask() ||
|
$entry->isScheduledTask() ||
|
||||||
$entry->hasMonitoredTag();
|
$entry->isCache() ||
|
||||||
|
$entry->isDump() ||
|
||||||
|
$entry->isQuery() ||
|
||||||
|
$entry->isSlowQuery() ||
|
||||||
|
$entry->hasMonitoredTag(); */
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -55,7 +60,7 @@ class TelescopeServiceProvider extends TelescopeApplicationServiceProvider
|
|||||||
*/
|
*/
|
||||||
protected function gate(): void
|
protected function gate(): void
|
||||||
{
|
{
|
||||||
Gate::define('viewTelescope', function () {
|
Gate::define('viewTelescope', function ($user) {
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user