Duh! It looks like his routes_onerror would do everything I need. My customexception.py just becomes a controller method.
Thanks Tim & Massimo. On Nov 12, 12:45 pm, mdipierro <[EMAIL PROTECTED]> wrote: > Mark, > > please talk to Tim. We just included (1.48) his patch for > "routes_onerror". I believe what you are proposing has a lot of > superposition with what he proposed and can handled already by the > current version of web2py. > > Mind that sending emails on error has one problem... what if the > function that sends the email causes an error? Do you go in one loop > and send hundreds of emails? I have seen this last week when I got 850 > email in 10 minutes (it was not a web2py app). > > I think there should be a daemon that monitors tickets (from database > or filesystem) and is in charge of sending emails. This must be > decoupled from web2py actions. > > Massimo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---