Skip to content

Commit

Permalink
Improve the Exceptions Handling
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyCyborg committed Dec 18, 2019
1 parent 1ec2412 commit 1516a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Platform/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function render(Request $request, Exception $e)
*/
protected function renderHttpException(HttpException $e, Request $request)
{
if (! is_null($response = $this->createResponse($e, $request))) {
if (! is_null($response = $this->createErrorResponse($e, $request))) {
return $response;
}

Expand Down

0 comments on commit 1516a7d

Please sign in to comment.