Added a log message for when connected check fails.
This commit is contained in:
@@ -3066,7 +3066,9 @@ namespace ASCOM.Meade.net
|
|||||||
{
|
{
|
||||||
if (!IsConnected)
|
if (!IsConnected)
|
||||||
{
|
{
|
||||||
throw new NotConnectedException($"Not connected to telescope when trying to execute: {message}");
|
var msg = $"Not connected to telescope when trying to execute: {message}";
|
||||||
|
LogMessage("CheckConnected", msg);
|
||||||
|
throw new NotConnectedException(msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user