diff --git a/source/main.pas b/source/main.pas index c08df92d..0eac3908 100644 --- a/source/main.pas +++ b/source/main.pas @@ -6942,8 +6942,8 @@ begin SetActiveDatabase('', FocusNewObject.Connection); except end; - if not Assigned(DBtree.FocusedNode) then - raise Exception.Create('Error Message'); + if not Assigned(DBtree.FocusedNode) then + raise Exception.Create('Could not find node to focus.'); finally FTreeRefreshInProgress := False;