Skip to content

Commit

Permalink
Do not disconnect on coordinates exception
Browse files Browse the repository at this point in the history
  • Loading branch information
pchev committed Apr 11, 2022
1 parent d97c6a8 commit 2f5d51a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions skychart/pu_ascomclient.pas
Expand Up @@ -256,7 +256,6 @@ procedure Tpop_scope.ShowCoordinates;
except
on E: Exception do begin
MessageDlg(DriverMsg + ': ' + E.Message, mtWarning, [mbOK], 0);
ScopeDisconnect(ok);
exit;
end;
end;
Expand Down Expand Up @@ -1145,7 +1144,7 @@ procedure Tpop_scope.Timer1Timer(Sender: TObject);
FConnected := ScopeConnectedReal;
if not FConnected then begin
ScopeDisconnect(ok);
ShowMessage('Telescope disconnected!');
ShowMessage('Telescope disconnected on it''s own!');
exit;
end;
try
Expand Down

0 comments on commit 2f5d51a

Please sign in to comment.