public FrameworkElement CreateConfigurationControl(IServiceContainer serviceContainer, ICustomDataSourceViewModel viewModel) { try { return(_inner.CreateConfigurationControl(serviceContainer, viewModel)); } catch (Exception e) { Log.ErrorFormat("Caught unexpected exception: {0}", e); return(null); } }