mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 06:05:01 +02:00
parent
f600d75930
commit
ec8cdcd554
@ -265,7 +265,7 @@ void ApiListener::AddConnection(const Endpoint::Ptr& endpoint)
|
|||||||
void ApiListener::NewClientHandler(const Socket::Ptr& client, const String& hostname, ConnectionRole role)
|
void ApiListener::NewClientHandler(const Socket::Ptr& client, const String& hostname, ConnectionRole role)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
NewClientHandler(client, hostname, role);
|
NewClientHandlerInternal(client, hostname, role);
|
||||||
} catch (const std::exception& ex) {
|
} catch (const std::exception& ex) {
|
||||||
Log(LogCritical, "ApiListener")
|
Log(LogCritical, "ApiListener")
|
||||||
<< "Exception while handling new API client connection: " << DiagnosticInformation(ex);
|
<< "Exception while handling new API client connection: " << DiagnosticInformation(ex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user