Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
AnourValar committed Apr 17, 2023
1 parent 405f6e4 commit 8459ec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exceptions/HandlerRenderTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function render($request, Throwable $e)
if ($request->expectsJson()) {
$response->setData(['message' => $e->getMessage(), 'errors' => ['error' => [$error]]]);
} else {
return redirect()->back()->withErrors(['error' => $error])->withInput();
//return redirect()->back()->withErrors(['error' => $error])->withInput();
}

}
Expand Down

0 comments on commit 8459ec7

Please sign in to comment.