You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 26, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: app/Exceptions/Handler.php
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,10 @@ class Handler extends ExceptionHandler
40
40
*/
41
41
publicfunctionreport(Throwable$exception)
42
42
{
43
-
if ($exceptioninstanceof \Symfony\Component\HttpKernel\Exception\NotFoundHttpException) {
43
+
if (
44
+
$exceptioninstanceof \Symfony\Component\HttpKernel\Exception\NotFoundHttpException || // 404 doesn't need to be logged to avoid filling the log file
45
+
$exceptioninstanceof \Illuminate\Encryption\MissingAppKeyException // /api/players Illuminate\Encryption\MissingAppKeyException: No application encryption key has been specified.
0 commit comments