Browse Source

added telescope to log everything in production

= 1 year ago
parent
commit
0674e0b7d4
1 changed files with 5 additions and 3 deletions
  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() ||