From ae5909995075f916e0a91804c41f7cf3994779c5 Mon Sep 17 00:00:00 2001 From: Jacek Blaszczynski Date: Sat, 28 Jul 2018 05:50:55 +0200 Subject: [PATCH] build-test - fix TestWrapper CS warnings (#19180) --- tests/runtest.proj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/runtest.proj b/tests/runtest.proj index b1a402cdb514..f071bd7a104f 100644 --- a/tests/runtest.proj +++ b/tests/runtest.proj @@ -258,7 +258,7 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\",""). } catch(Exception ex) { - sErrorText = "Unable to read error file: " + errorFile%3B + sErrorText = $"Unable to read error file: {errorFile}\n{ex}"%3B } string outputText = null%3B @@ -270,7 +270,7 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\",""). } catch(Exception ex) { - outputText = "Unable to read output file: " + outputFile%3B + outputText = $"Unable to read error file: {outputFile}\n{ex}"%3B } string msg = infraEx != null ? "Test Infrastructure Failure: " + infraEx.ToString()