Auto commit for release 'develop' on 2024-08-05

This commit is contained in:
github-actions
2024-08-05 20:37:29 +02:00
parent 0c9a41a929
commit d98d757f8b
11 changed files with 94 additions and 106 deletions

View File

@@ -68,13 +68,10 @@ class Handler extends ExceptionHandler
JsonApiException::class,
];
/**
* Register the exception handling callbacks for the application.
*
* @return void
*/
public function register()
public function register(): void
{
$this->renderable(
ExceptionParser::make()->renderable()
@@ -98,11 +95,13 @@ class Handler extends ExceptionHandler
app('log')->debug('Now in Handler::render()');
if($e instanceof JsonApiException) {
if ($e instanceof JsonApiException) {
// ignore it: controller will handle it.
app('log')->debug(sprintf('Return to parent to handle JsonApiException(%d)', $e->getCode()
));
app('log')->debug(sprintf(
'Return to parent to handle JsonApiException(%d)',
$e->getCode()
));
return parent::render($request, $e);
}