Re: [sqlalchemy] Handling a connection error

2010-12-06 Thread Michael Bayer
On Dec 6, 2010, at 10:50 AM, M3nt0r3 wrote: > HI, > i am trying to handle the error c on connection when db is stopped or > unrechable. > >File "/usr/lib/python2.6/dist-packages/sqlalchemy/pool.py", line > 213, in __init__ >self.connection = self.__connect() > >File "/usr/lib/python

[sqlalchemy] Handling a connection error

2010-12-06 Thread M3nt0r3
HI, i am trying to handle the error c on connection when db is stopped or unrechable. File "/usr/lib/python2.6/dist-packages/sqlalchemy/pool.py", line 213, in __init__ self.connection = self.__connect() File "/usr/lib/python2.6/dist-packages/sqlalchemy/pool.py", line 279, in __connect