Example #1
0
        // Unhandled Exception 처리 함수
        private static void SMEUnHandledExceptionHandler(object sender, UnhandledExceptionEventArgs e)
        {
            Exception exception = (Exception)e.ExceptionObject;
            StackTrace stacktrace = new StackTrace(true);
            SMECollector smecollector = new SMECollector(exception, stacktrace, ProjectInfo);

            //파일 전송
            if (IsSend)
            {
                smecollector.SendToServer(ServerIP, ServerPort);
            }
        }
Example #2
0
 public static void CollectError(string sme)
 {
     StackTrace stacktrace = new StackTrace(true);
     SMECollector smecollector = new SMECollector(new Exception(""), stacktrace, ProjectInfo);
 }