We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5aa9ea commit fac5e9eCopy full SHA for fac5e9e
e2e/stress/IoTClientPerf/Program.cs
@@ -248,13 +248,16 @@ public static int Main(string[] args)
248
{
249
ret = runner.RunTestAsync().GetAwaiter().GetResult();
250
}
251
- finally
+ catch (Exception ex)
252
253
- Console.Write("Writing output . . . ");
254
- resultWriter.FlushAsync().GetAwaiter().GetResult();
255
- Console.WriteLine("OK");
+ Console.WriteLine(ex);
+ ret = -1;
256
257
+ Console.Write("Writing output . . . ");
258
+ resultWriter.FlushAsync().GetAwaiter().GetResult();
259
+ Console.WriteLine("OK");
260
+
261
if (ret == 0)
262
263
Console.WriteLine("Test PASSED.");
0 commit comments