On Apr 15, 2010, at 3:56 PM, cd34 wrote:

> On Apr 15, 5:02 pm, Ben Bangert <[email protected]> wrote:
>> Using a name that's not defined in a Mako template should *always* throw an 
>> error. What is happening when you use an undefined variable, and what are 
>> you expecting?
> 
> 0.9.7 returned a mako template error in the browser which allowed you
> to see the context.  0.10rc1 and 1.0rc1 both return Internal Server
> Error in the browser, and you have to revert back to the console
> trackback to see what occurred.  For me, it is exclusive to
> ToscaWidgets - disabling it returns the previous behavior.

Ah, yes, there was a ToscaWidgets bug which masked the proper error handling. I 
mean in my existing projects I've moved to 1.0rc1, I haven't seen this issue. 
Were you saying that this was happening with a non-toscawidgets project using 
0.10/1.0?

- Ben

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to