public void OnError(Exception error) { if (error is SkipRestOfThisTestException) { return; } logger.OnException(Name, error); logger.LogError(error); }
public void LogError(string message, Exception error) { error = CleanupException(error); logger.LogError(message, error); }