Exemplo n.º 1
0
        /// <summary>
        /// Logs the search exception.
        /// </summary>
        /// <param name="exc">The exc.</param>
        public static void LogSearchException(SearchException exc)
        {
            Instrumentation.DnnLog.Error(exc);
            var objExceptionLog = new ExceptionLogController();

            objExceptionLog.AddLog(exc, ExceptionLogController.ExceptionLogType.SEARCH_INDEXER_EXCEPTION);
        }
Exemplo n.º 2
0
		/// <summary>
		/// Logs the search exception.
		/// </summary>
		/// <param name="exc">The exc.</param>
        public static void LogSearchException(SearchException exc)
        {
            Logger.Error(exc);
            var objExceptionLog = new ExceptionLogController();
            objExceptionLog.AddLog(exc, ExceptionLogController.ExceptionLogType.SEARCH_INDEXER_EXCEPTION);
        }