示例#1
0
        public void OnError(Exception error)
        {
            if (error is SkipRestOfThisTestException)
            {
                return;
            }

            logger.OnException(Name, error);
            logger.LogError(error);
        }
示例#2
0
 public void LogError(string message, Exception error)
 {
     error = CleanupException(error);
     logger.LogError(message, error);
 }