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 4c1535c commit 077fc40
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 @@ -89,7 +89,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 077fc40

Please sign in to comment.