Revert "Log auth exception to debug iOS logout issue"

This reverts commit 125daebcbc.
This commit is contained in:
Bubka 2022-10-19 09:13:42 +02:00
parent e40e58c0bf
commit 1b8d4b78c5

View File

@ -3,7 +3,6 @@
namespace App\Exceptions;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Illuminate\Support\Facades\Log;
class Handler extends ExceptionHandler
{
@ -92,8 +91,6 @@ public function register()
'message' => $exception->getMessage()], 407);
}
else {
Log::debug($request->fullUrl());
Log::debug($exception->getTraceAsString());
return response()->json([
'message' => $exception->getMessage()], 401);
}