Skip to content

Commit 6868adc

Browse files
committed
Improve the Exceptions Handling
1 parent 00dea87 commit 6868adc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Platform/Exceptions/Handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function render(Request $request, Exception $e)
8989
*/
9090
protected function renderHttpException(HttpException $e, Request $request)
9191
{
92-
if (! is_null($response = $this->createResponse($e, $request))) {
92+
if (! is_null($response = $this->createErrorResponse($e, $request))) {
9393
return $response;
9494
}
9595

0 commit comments

Comments
 (0)