Skip to content

Commit

Permalink
Code style refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
lanedirt committed Jan 6, 2025
1 parent 91f596e commit 6c3002c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Http/Controllers/PlanetAbandonController.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ public function abandon(PlayerService $player): JsonResponse
try {
// Abandon the planet.
$planetToDelete->abandonPlanet();
}
catch (Exception $e) {
} catch (Exception $e) {
// Exception occured, return error.
return response()->json([
'status' => 'error',
Expand Down

0 comments on commit 6c3002c

Please sign in to comment.