I am not sure. You will need to fill the blanks...

def mycacher(f):
     import gluon.restricted
     try: f()
     except restricted.RestrictedError, e:
          raise ....fill here....
response._caller=myctcher

What exception should I raise to get the stacktrace stored in
e.stacktrace?

Massimo

On Jan 8, 3:17 pm, Robin B <[email protected]> wrote:
> Web2py tries to write exceptions to tickets even on GAE dev_appserver
> where it cannot write tickets, so the result is no debugging
> information.
>
> What is the best way to simply disable web2py's ticket system and let
> the exception raise to the outer WSGI handler that prints a detailed
> stack trace?
>
> Thanks,
>
> Robin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to