提交 abd604cf 编写于 作者: D David Kean

Include the actual underlying exception in "failed to run".

This enables to actually diagnose TestRunner issues if an exception
occurs during execution.
上级 0df0937a
......@@ -200,7 +200,7 @@ private async Task<TestResult> RunTest(string assemblyPath, CancellationToken ca
}
catch (Exception ex)
{
throw new Exception($"Unable to run {assemblyPath} with {_xunitConsolePath}", ex);
throw new Exception($"Unable to run {assemblyPath} with {_xunitConsolePath}. {ex}");
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册