public static void Report(System.Exception e, TestReporter reporter) { if (e is System.Reflection.TargetInvocationException) { Report(e as System.Reflection.TargetInvocationException, reporter); return; } reporter.Exception(e.Message + "\n" + GetClientStackTrace(e)); }