Hi All,

I have routes_onerror configured to redirect all errors to my error 
handling controller:

routes_onerror = [
    ('app/*', '/app/error/index'),
]

The first line in the index function of the error controller is:

code = request.vars.code

Problem:

If an exception is raised after calling form.process(..),  it looks like 
request._vars is None.  This results in a 'Bad Request - HTTP body is 
incomplete' when I try to access request.vars.   Am I doing something wrong?

Thanks!

Josh

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to