| Conditions | 5 |
| Paths | 1 |
| Total Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function register() |
||
| 18 | { |
||
| 19 | // Telescope::night(); |
||
| 20 | |||
| 21 | $this->hideSensitiveRequestDetails(); |
||
| 22 | |||
| 23 | Telescope::filter( |
||
| 24 | function (IncomingEntry $entry) { |
||
| 25 | if ($this->app->isLocal()) { |
||
| 26 | return true; |
||
| 27 | } |
||
| 28 | |||
| 29 | return $entry->isReportableException() || |
||
| 30 | $entry->isFailedJob() || |
||
| 31 | $entry->isScheduledTask() || |
||
| 32 | $entry->hasMonitoredTag(); |
||
| 33 | } |
||
| 34 | ); |
||
| 35 | } |
||
| 36 | |||
| 82 |