瀏覽代碼

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

Peter Muturi 1 年之前
父節點
當前提交
f0e934a117
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. 5 3
      app/Providers/TelescopeServiceProvider.php

+ 5 - 3
app/Providers/TelescopeServiceProvider.php

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