MCPcopy Create free account
hub / github.com/CasparCG/server / UserUnhandledExceptionFilter

Function UserUnhandledExceptionFilter

src/shell/windows_specific.cpp:53–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51namespace caspar {
52
53LONG WINAPI UserUnhandledExceptionFilter(EXCEPTION_POINTERS* info)
54{
55 try {
56 CASPAR_LOG(fatal) << L"#######################\n UNHANDLED EXCEPTION: \n"
57 << L"Address:" << info->ExceptionRecord->ExceptionAddress << L"\n"
58 << L"Code:" << info->ExceptionRecord->ExceptionCode << L"\n"
59 << L"Flag:" << info->ExceptionRecord->ExceptionFlags << L"\n"
60 << L"Info:" << (unsigned __int64)info->ExceptionRecord->ExceptionInformation << L"\n"
61 << L"Continuing execution. \n#######################";
62
63 CASPAR_LOG_CURRENT_CALL_STACK();
64 } catch (...) {
65 }
66
67 return EXCEPTION_EXECUTE_HANDLER;
68}
69
70void setup_prerequisites()
71{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected