예제 #1
0
 static void GlobalExHandler(object sender, UnhandledExceptionEventArgs e)
 {
     CLIProgram.LogAndRestart((Exception)e.ExceptionObject);
 }
예제 #2
0
 static void ThreadExHandler(object sender, ThreadExceptionEventArgs e)
 {
     CLIProgram.LogAndRestart(e.Exception);
 }