mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
parent
3c8e84e59e
commit
9c9982616b
@ -226,6 +226,7 @@ void ApiListener::AddConnection(const Endpoint::Ptr& endpoint)
|
||||
endpoint->SetConnecting(false);
|
||||
} catch (const std::exception& ex) {
|
||||
endpoint->SetConnecting(false);
|
||||
client->Close();
|
||||
|
||||
std::ostringstream info, debug;
|
||||
info << "Cannot connect to host '" << host << "' on port '" << port << "'";
|
||||
|
Loading…
x
Reference in New Issue
Block a user