mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
fixes
This commit is contained in:
1 parent
37646bcfa0
commit
1304631aad
4 files changed
+47
-35
No files matched your search
@@ -21,6 +21,9 @@ class PrivateKey extends Component
|
||||
Toaster::success('Server is reachable with this private key.');
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
$this->server->settings->is_reachable = false;
|
||||
$this->server->settings->is_usable = false;
|
||||
$this->server->settings->save();
|
||||
return general_error_handler(customErrorMessage: "Server is not reachable. Reason: {$e->getMessage()}", that: $this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user