Glauco wrote:
> all KeyError are masked  but i think that a simple code like this before 
> the try......
> 
> for x in (self.user_name_field, self.password_field, 
> self.submit_button_name):
>    if not params.has_key( x ):
>       log.error ("Check for presence of %s field in your form fields" % x)

Wouldn't it be better to output a log.warning after the except KeyError?

-- Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to