Check debug

This commit is contained in:
James Cole
2023-01-11 17:34:05 +01:00
parent abdbb86d05
commit 3f2560c8e5

View File

@@ -90,7 +90,7 @@ class Handler extends ExceptionHandler
Log::debug('Now in Handler::render()');
if ($e instanceof LaravelValidationException && $expectsJson) {
// ignore it: controller will handle it.
Log::debug('Return to parent to handle LaravelValidationException');
Log::debug(sprintf('Return to parent to handle LaravelValidationException(%d)', $e->status));
return parent::render($request, $e);
}
if ($e instanceof NotFoundHttpException && $expectsJson) {