Paolo, Thanks for the response.
I just put 404 for as an example, I am may end up showing a page which asks the end user to contact the System Admin to fix the issue. What am doing is an webapp for a enterprise task. So, I may show few details about the issue. On Thursday, December 19, 2013 7:47:00 PM UTC+5:30, Paolo Valleri wrote: > > I've the same problem, I don't think DAL has this kind of ability but I > leave the word to others in such cases. > Are you interested in showing the 404 page for all tickets or only for > those the involve the db connection? > > Paolo > On Thursday, December 19, 2013 7:35:24 AM UTC+1, Raj Chinna wrote: >> >> Hi, >> >> I have web2py application which talks with MYSQL and i have my db >> connection strings in db.py module. Sometime the web2py server is running >> without any issues, but mysql goes offline now and then. So, I am getting >> the ticket generated saying that *"Failure to connect, tried 5 times: >> Traceback (most recent call last): ".* >> >> All I wanted to do is to check if this error comes out (that's mysql is >> not running) I need to redirect the user to something like 404/database >> error page. Can someone tell me where and how can I detect this database >> connectivity failure and show some meaningful error message. >> >> Thanks, >> Raj Chinna >> > -- 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/groups/opt_out.

