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()
|
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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue