mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
dispatch an error message
This commit is contained in:
parent
465dfbdf53
commit
b18d4b9564
1 changed files with 2 additions and 1 deletions
|
|
@ -113,7 +113,8 @@ class Show extends Component
|
|||
->where('id', '!=', $this->server->id)
|
||||
->exists()) {
|
||||
$this->ip = $this->server->ip;
|
||||
throw new \Exception('This IP/Domain is already in use by another server in your team.');
|
||||
|
||||
return $this->dispatch('error', 'This IP/Domain is already in use by another server in your team.');
|
||||
}
|
||||
|
||||
$this->server->name = $this->name;
|
||||
|
|
|
|||
Loading…
Reference in a new issue