public static void LogUnhandledException()
 {
     try {
         TestHelpers.ThrowException();
     } catch (Exception ex) {
         Crittercism.LogUnhandledException(ex);
     }
 }
 public static void Main(string[] args)
 {
     Crittercism.Init("YOUR APP ID GOES HERE");
     try {
         Console.WriteLine("ConsoleApp Demo");
         Help();
         CommandLoop();
     } catch (Exception e) {
         // Log a Crash .
         Crittercism.LogUnhandledException(e);
     }
     Crittercism.Shutdown();
 }
예제 #3
0
 public static void Main(string[] args)
 {
     Crittercism.Init("537a4e738039805d82000002");
     try {
         Console.WriteLine("ConsoleApp Demo");
         Help();
         CommandLoop();
     } catch (Exception e) {
         // Log a Crash .
         Crittercism.LogUnhandledException(e);
     }
     Crittercism.Shutdown();
 }