mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 04:49:19 +02:00
improved error handling
git-svn-id: trunk@7759 -
This commit is contained in:
parent
c2188e25a6
commit
c403a620aa
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user