Skip to content

Commit 6206a26

Browse files
Throw error on disconnected state as well
1 parent 3a70717 commit 6206a26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

BrowserStackLocal/BrowserStackLocal/BrowserStackTunnel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ private void RunProcess(string arguments, string processType)
192192
else if (connectionState.ToString().ToLower().Equals("disconnected"))
193193
{
194194
SetTunnelState(LocalState.Disconnected);
195+
throw new Exception("Error while executing BrowserStackLocal " + processType + " " + e.Data);
195196
}
196197
else
197198
{

0 commit comments

Comments
 (0)