Skip to content

Commit 3735a1c

Browse files
If ExecCommand fails, re-throw the exception instead of swallowing it
1 parent 7211535 commit 3735a1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/client/Unit/src/unit/TestConnectionBlocked.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ protected void ExecCommand(string ctl, string args)
133133
proc.Start();
134134
} catch (Exception e) {
135135
Console.WriteLine("Failed to run subprocess with args " + args + " : " + e.Message);
136+
throw e;
136137
}
137138
}
138139

0 commit comments

Comments
 (0)