| Conditions | 6 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function register() |
||
| 18 | { |
||
| 19 | // Telescope::night(); |
||
| 20 | |||
| 21 | $this->hideSensitiveRequestDetails(); |
||
| 22 | |||
| 23 | Telescope::filter(function (IncomingEntry $entry) { |
||
| 24 | if ($this->app->environment('local')) { |
||
| 25 | return true; |
||
| 26 | } |
||
| 27 | |||
| 28 | return $entry->isReportableException() || |
||
| 29 | $entry->isFailedRequest() || |
||
| 30 | $entry->isFailedJob() || |
||
| 31 | $entry->isScheduledTask() || |
||
| 32 | $entry->hasMonitoredTag(); |
||
| 33 | }); |
||
| 72 |