Ejemplo n.º 1
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);
     }
 }
Ejemplo n.º 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);
         }
     }
 }