Added a general try catch to the UnPark method.
This commit is contained in:
@@ -3040,6 +3040,8 @@ namespace ASCOM.Meade.net
|
||||
}
|
||||
|
||||
public void Unpark()
|
||||
{
|
||||
try
|
||||
{
|
||||
LogMessage("Unpark", "Unparking telescope");
|
||||
CheckConnected("Unpark");
|
||||
@@ -3075,6 +3077,12 @@ namespace ASCOM.Meade.net
|
||||
SideOfPier = PierSide.pierUnknown;
|
||||
LogMessage("Unpark", "Unparking Completed");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogMessage("Unpark", $"Error: {ex.Message}");
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
private bool BypassHandboxEntryForAutostarII()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user