mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
3f9ce38fd0
commit
5eb32efb05
@ -142,7 +142,15 @@ void SocketEvents::ThreadProc(void)
|
||||
VERIFY(ltref);
|
||||
}
|
||||
|
||||
desc.EventInterface->OnEvent(pfds[i].revents);
|
||||
try {
|
||||
desc.EventInterface->OnEvent(pfds[i].revents);
|
||||
} catch (const std::exception& ex) {
|
||||
Log(LogCritical, "SocketEvents")
|
||||
<< "Exception thrown in socket I/O handler:\n"
|
||||
<< DiagnosticInformation(ex);
|
||||
} catch (...) {
|
||||
Log(LogCritical, "SocketEvents", "Exception of unknown type thrown in socket I/O handler.");
|
||||
}
|
||||
}
|
||||
|
||||
delete [] pfds;
|
||||
|
Loading…
x
Reference in New Issue
Block a user