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