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); DefinePropertiesReader);
except except
on E: Exception do begin on E: Exception do begin
debugln('TCustomFormEditor.GetDefineProperties Error calling DefineProperties for ', DbgOut('TCustomFormEditor.GetDefineProperties Error calling DefineProperties for ');
CacheItem.RegisteredComponent.ComponentClass.Classname, if (CacheItem.RegisteredComponent<>nil) then begin
': ',E.Message); DbgOut(CacheItem.RegisteredComponent.ComponentClass.Classname);
end;
DebugLn(' : ',E.Message);
end; end;
end; end;
// free component // free component