diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-12-18 05:26:29 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-12-18 05:26:29 +0200 |
| commit | 86bbaee1a545f08dc7bfb4efe5f4696d6e4dccdd (patch) | |
| tree | 0b46af20d6bb4568e44148b5e89d31da298c43fc /Software/Visual_Studio/StubsUtils/Tango.StubsUtils.SessionClient.CLI | |
| parent | d9ee0b8e11f15c2b3bae068767516bc84a5ca4ed (diff) | |
| download | Tango-86bbaee1a545f08dc7bfb4efe5f4696d6e4dccdd.tar.gz Tango-86bbaee1a545f08dc7bfb4efe5f4696d6e4dccdd.zip | |
StubUtils
Diffstat (limited to 'Software/Visual_Studio/StubsUtils/Tango.StubsUtils.SessionClient.CLI')
| -rw-r--r-- | Software/Visual_Studio/StubsUtils/Tango.StubsUtils.SessionClient.CLI/Program.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Software/Visual_Studio/StubsUtils/Tango.StubsUtils.SessionClient.CLI/Program.cs b/Software/Visual_Studio/StubsUtils/Tango.StubsUtils.SessionClient.CLI/Program.cs index b72e15236..d384ebba6 100644 --- a/Software/Visual_Studio/StubsUtils/Tango.StubsUtils.SessionClient.CLI/Program.cs +++ b/Software/Visual_Studio/StubsUtils/Tango.StubsUtils.SessionClient.CLI/Program.cs @@ -37,7 +37,7 @@ namespace Tango.StubsUtils.SessionClient.CLI try { var _client = new NamedPipeClientStream(PIPE_NAME); - _client.Connect(5000); + _client.Connect(1000); var writer = new StreamWriter(_client); @@ -54,7 +54,8 @@ namespace Tango.StubsUtils.SessionClient.CLI } catch (Exception ex) { - OnError($"Error communicating with the stubs service. {ex.Message}"); + OnError($"Status: Error\nError: Error communicating with the stubs service. {ex.Message}"); + continue; } if (response.Status == StubPackageResponseStatus.OK) |
