]> git.sesse.net Git - casparcg/commitdiff
git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches...
authorRonag <Ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Fri, 19 Aug 2011 21:50:55 +0000 (21:50 +0000)
committerRonag <Ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Fri, 19 Aug 2011 21:50:55 +0000 (21:50 +0000)
shell/main.cpp

index e5766290891cc3b8e03417873998cb12d08712c8..56118a51e5eb52de901d325f86e59c2410a54efe 100644 (file)
@@ -147,12 +147,16 @@ void print_info()
 \r
 LONG WINAPI UserUnhandledExceptionFilter(EXCEPTION_POINTERS* info)\r
 {\r
-       CASPAR_LOG(fatal) << L"#######################\n UNHANDLED EXCEPTION: \n" \r
-               << L"Adress:" << info->ExceptionRecord->ExceptionAddress << L"\n"\r
-               << L"Code:" << info->ExceptionRecord->ExceptionCode << L"\n"\r
-               << L"Flag:" << info->ExceptionRecord->ExceptionFlags << L"\n"\r
-               << L"Info:" << info->ExceptionRecord->ExceptionInformation << L"\n"\r
-               << L"Continuing execution. \n#######################";\r
+       try\r
+       {\r
+               CASPAR_LOG(fatal) << L"#######################\n UNHANDLED EXCEPTION: \n" \r
+                       << L"Adress:" << info->ExceptionRecord->ExceptionAddress << L"\n"\r
+                       << L"Code:" << info->ExceptionRecord->ExceptionCode << L"\n"\r
+                       << L"Flag:" << info->ExceptionRecord->ExceptionFlags << L"\n"\r
+                       << L"Info:" << info->ExceptionRecord->ExceptionInformation << L"\n"\r
+                       << L"Continuing execution. \n#######################";\r
+       }\r
+       catch(...){}\r
 \r
     return EXCEPTION_CONTINUE_EXECUTION;\r
 }\r