Sfoglia il codice sorgente

Merge branch 'cleanup' of https://rav.triplestart.com/tigerphp/stagfe2 into cleanup

Peter Muturi 1 anno fa
parent
commit
f0e934a117
1 ha cambiato i file con 5 aggiunte e 3 eliminazioni
  1. 5 3
      app/Providers/TelescopeServiceProvider.php

+ 5 - 3
app/Providers/TelescopeServiceProvider.php

@@ -22,10 +22,12 @@ class TelescopeServiceProvider extends TelescopeApplicationServiceProvider
         $this->hideSensitiveRequestDetails();
 
         Telescope::filter(function (IncomingEntry $entry) {
-            if ($this->app->environment('local')) {
-                return true;
-            }
 
+//            if ($this->app->environment('local')) {
+//                return true;
+//            }
+
+            return true;
             return $entry->isReportableException() ||
                 $entry->isFailedRequest() ||
                 $entry->isFailedJob() ||