mod telescope
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f10764dbb1
commit
25d31e7115
|
@ -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 $entry->isReportableException() ||
|
||||
$entry->isFailedRequest() ||
|
||||
$entry->isFailedJob() ||
|
||||
$entry->isScheduledTask() ||
|
||||
$entry->hasMonitoredTag();
|
||||
// return $entry->isReportableException() ||
|
||||
// $entry->isFailedRequest() ||
|
||||
// $entry->isFailedJob() ||
|
||||
// $entry->isScheduledTask() ||
|
||||
// $entry->hasMonitoredTag();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue