fix(windows): Apply suggestions from code review

Co-authored-by: Marc Durdin <marc@durdin.net>
This commit is contained in:
rc-swag 2025-01-23 09:54:36 +10:00 committed by GitHub
parent e949637e60
commit eebf0bb108
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1005,11 +1005,11 @@ begin
FPackage.Install2(True);
Result := True;
except
on E: Exception do
begin
TKeymanSentryClient.ReportHandledException(E,
'Failed to install keyboard package');
end;
on E:Exception do
begin
TKeymanSentryClient.ReportHandledException(E,
'Failed to install keyboard package');
end;
end;
FPackage := nil;