Beispiel #1
0
        static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
        {
            string log = "ERROR:" + e.ToString();

            CommonUtils.saveLog(log);
        }
Beispiel #2
0
        static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
        {
            string log = "ERROR:" + e.ExceptionObject.ToString();

            CommonUtils.saveLog(log);
        }