static Bootstrapper()
 {
     try
     {
         CoffeeHandler = new CoffeeHandler();
         SassHandler = new SassHandler();
     }
     catch (Exception ex)
     {
         var message = string.Format("There were errors Loading Sass and Coffee Handlers");
         var wrappedException = new ApplicationException(message, ex);
         if (Registry.CaptureErrorAction != null)
             Registry.CaptureErrorAction(wrappedException);
     }
 }
Exemple #2
0
 static Bootstrapper()
 {
     try
     {
         CoffeeHandler = new CoffeeHandler();
         SassHandler   = new SassHandler();
     }
     catch (Exception ex)
     {
         var message          = string.Format("There were errors Loading Sass and Coffee Handlers");
         var wrappedException = new ApplicationException(message, ex);
         if (Registry.CaptureErrorAction != null)
         {
             Registry.CaptureErrorAction(wrappedException);
         }
     }
 }