| Conditions | 5 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function register() |
||
| 18 | { |
||
| 19 | //Telescope::night(); |
||
| 20 | |||
| 21 | Telescope::filter(function (IncomingEntry $entry) { |
||
| 22 | if ($this->app->environment('local')) { |
||
| 23 | return true; |
||
| 24 | } |
||
| 25 | |||
| 26 | return $entry->isReportableException() || |
||
| 27 | $entry->isFailedJob() || |
||
| 28 | $entry->isScheduledTask() || |
||
| 29 | $entry->hasMonitoredTag(); |
||
| 30 | }); |
||
| 49 |