From 1297b5eb786a4df062557aa72e4d526d093cfd11 Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 17 Jan 2021 17:49:45 +0000 Subject: [PATCH] Fixed 9 of the broken unit tests by populating the mock information properly. --- Meade.net.Telescope/Telescope.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meade.net.Telescope/Telescope.cs b/Meade.net.Telescope/Telescope.cs index af77cb1..7677c15 100644 --- a/Meade.net.Telescope/Telescope.cs +++ b/Meade.net.Telescope/Telescope.cs @@ -421,7 +421,7 @@ namespace ASCOM.Meade.net var raAndDec = GetTelescopeRaAndDec(); LogMessage("Connected Set", $"Connected OK. Current RA = {_utilitiesExtra.HoursToHMS(raAndDec.RightAscension)} Dec = {_utilitiesExtra.DegreesToDMS(raAndDec.Declination)}"); } - catch (Exception) + catch (Exception ex) { SharedResourcesWrapper.Disconnect("Serial", DriverId); throw;