Skip to content

Commit 3bfc657

Browse files
authored
Merge pull request #15 from browserstack/error_message_fix
Edit error message for already running binary
2 parents 73ecab7 + 1b9ece1 commit 3bfc657

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

BrowserStackLocal/BrowserStackLocal Unit Tests/BrowserStackTunnelTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void TestBinaryPathOnNoMoreFallback()
7979
tunnel.fallbackPaths();
8080
Assert.Throws(typeof(Exception),
8181
new TestDelegate(testFallbackException),
82-
"No More Paths to try. Please specify a binary path in options."
82+
"Binary not found or failed to launch. Make sure that BrowserStackLocal.exe is not already running."
8383
);
8484
}
8585
[TestMethod]

BrowserStackLocal/BrowserStackLocal/BrowserStackTunnel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public virtual void fallbackPaths()
6161
{
6262
if (basePathsIndex >= basePaths.Length - 1)
6363
{
64-
throw new Exception("No More Paths to try. Please specify a binary path in options.");
64+
throw new Exception("Binary not found or failed to launch. Make sure that BrowserStackLocal.exe is not already running.");
6565
}
6666
basePathsIndex++;
6767
binaryAbsolute = Path.Combine(basePaths[basePathsIndex], binaryName);

0 commit comments

Comments
 (0)