Skip to content

Commit 44b94b9

Browse files
authored
Merge pull request pterodactyl#1716 from Sir3lit/fix-01
Fixed has servers error message
2 parents 917e5e1 + 03dba1a commit 44b94b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Services/Nests/NestDeletionService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function handle(int $nest): int
5151
{
5252
$count = $this->serverRepository->findCountWhere([['nest_id', '=', $nest]]);
5353
if ($count > 0) {
54-
throw new HasActiveServersException(trans('exceptions.service.delete_has_servers'));
54+
throw new HasActiveServersException(trans('exceptions.nest.delete_has_servers'));
5555
}
5656

5757
return $this->repository->delete($nest);

0 commit comments

Comments
 (0)