mirror of https://github.com/Icinga/icinga2.git
parent
9229aa4948
commit
98733fc105
|
@ -403,6 +403,7 @@ void Application::SigAbrtHandler(int)
|
||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
|
|
||||||
std::cerr << "Caught SIGABRT." << std::endl
|
std::cerr << "Caught SIGABRT." << std::endl
|
||||||
|
<< "Current time: " << Utility::FormatDateTime("%Y-%m-%d %H:%M:%S %z", Utility::GetTime()) << std::endl
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|
||||||
DisplayVersionMessage();
|
DisplayVersionMessage();
|
||||||
|
@ -445,6 +446,7 @@ void Application::ExceptionHandler(void)
|
||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
|
|
||||||
std::cerr << "Caught unhandled exception." << std::endl
|
std::cerr << "Caught unhandled exception." << std::endl
|
||||||
|
<< "Current time: " << Utility::FormatDateTime("%Y-%m-%d %H:%M:%S %z", Utility::GetTime()) << std::endl
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|
||||||
DisplayVersionMessage();
|
DisplayVersionMessage();
|
||||||
|
@ -468,6 +470,7 @@ LONG CALLBACK Application::SEHUnhandledExceptionFilter(PEXCEPTION_POINTERS exi)
|
||||||
DisplayVersionMessage();
|
DisplayVersionMessage();
|
||||||
|
|
||||||
std::cerr << "Caught unhandled SEH exception." << std::endl
|
std::cerr << "Caught unhandled SEH exception." << std::endl
|
||||||
|
<< "Current time: " << Utility::FormatDateTime("%Y-%m-%d %H:%M:%S %z", Utility::GetTime()) << std::endl
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|
||||||
StackTrace trace(exi);
|
StackTrace trace(exi);
|
||||||
|
|
Loading…
Reference in New Issue