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); } }
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); } } }