I have a loop in a view that loads a set of components (see code
below). However if one of the components fails then I get a
"restricted error" and the line number is the line of the LOAD command
so I do not even know which component failed let alone the real error
message and line number.
Is using LOAD in this way a bad design? Or is there some way I can get
at the errors?
{{for component in componentlist:}}
{{=LOAD(f=component.function, extension="load", ajax=False,
ajaxTrap=True, args=component.args, vars=component.vars)}}
<br>
{{pass}}