Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit cbe79dc

Browse files
4creatorsechesakov
authored andcommitted
[release/2.2] build-test - fix TestWrapper CS warnings (#19180)
1 parent e4a2a31 commit cbe79dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/runtest.proj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\","").
249249
}
250250
catch(Exception ex)
251251
{
252-
sErrorText = "Unable to read error file: " + errorFile%3B
252+
sErrorText = $"Unable to read error file: {errorFile}\n{ex}"%3B
253253
}
254254
255255
string outputText = null%3B
@@ -261,7 +261,7 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\","").
261261
}
262262
catch(Exception ex)
263263
{
264-
outputText = "Unable to read output file: " + outputFile%3B
264+
outputText = $"Unable to read error file: {outputFile}\n{ex}"%3B
265265
}
266266
267267
string msg = infraEx != null ? "Test Infrastructure Failure: " + infraEx.ToString()

0 commit comments

Comments
 (0)