Added try catch to the default constructor to show the details of an error if something goes wrong.

This commit is contained in:
2019-12-01 00:11:13 +00:00
parent 25d88b0609
commit 1185770a94
2 changed files with 41 additions and 9 deletions
@@ -220,7 +220,7 @@ namespace Meade.net.Telescope.UnitTests
{
ConnectTelescope();
string parameters = $"Count";
string parameters = "Count";
var result = _telescope.Action("site", parameters);
Assert.That(result, Is.EqualTo("4"));