소스 검색

Merge branch 'master' into dev-vj

Vijayakrishnan 3 년 전
부모
커밋
94463cf189
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      app/Exceptions/Handler.php

+ 10 - 0
app/Exceptions/Handler.php

@@ -57,6 +57,16 @@ class Handler extends ExceptionHandler
 
     private function reportError(Throwable $e){
         try {
+
+            if(!$e->getMessage()){
+                return;
+            }
+
+            if(strtolower($e->getMessage()) == 'not found'){
+                //ignore
+                return;
+            }
+
             if($e->getMessage()){
                 $url =   config('stag.backendUrl') . '/dev/reportPhpError';
                 $headers['secret'] = 'superman';