Ok i understand that, but if my service of mysql is SHUTDOWN, i need one
exepction for that! because generate one traceback, and I need handle this,
maybe return one string saying "mysql its shutdown, page 404"
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Actually, looks like it is a RuntimeError, but are you sure the code
triggering the exception is actually inside your try/except block (looks
like it's your DAL() definition line in 00db.py)? Looks like the database
user/password is incorrect, in which case, once you correct it, there
should
I try it, and this don't work :s I get the same traceback :s
I need this for the validation :s
--
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
except db._adapter.driver.OperationalError:
Anthony
On Thursday, October 15, 2015 at 11:29:25 PM UTC-4,
argenio.bosa...@metamaxzone.com wrote:
>
> Good morning, I need handle exceptions when a database can't connect,
>
> When that ocurre, the traceback is:
>
> Traceback (most recent call
4 matches
Mail list logo