improved error handling

git-svn-id: trunk@7759 -
This commit is contained in:
mattias 2005-09-20 18:28:48 +00:00
parent c2188e25a6
commit c403a620aa

View File

@ -1584,9 +1584,11 @@ begin
DefinePropertiesReader);
except
on E: Exception do begin
debugln('TCustomFormEditor.GetDefineProperties Error calling DefineProperties for ',
CacheItem.RegisteredComponent.ComponentClass.Classname,
': ',E.Message);
DbgOut('TCustomFormEditor.GetDefineProperties Error calling DefineProperties for ');
if (CacheItem.RegisteredComponent<>nil) then begin
DbgOut(CacheItem.RegisteredComponent.ComponentClass.Classname);
end;
DebugLn(' : ',E.Message);
end;
end;
// free component