[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#515173: rmadison: handle pg.InternalError gracefully



Package: qa.debian.org

Hello,

as per [1], there are some minutes each day were the projectb database
ceases to exist on merkel, producing a traceback on rmadison. It would
be nice if this could be caught, and a message akin to "Database down
for daily maintenance, please try again in a few minutes" would be
printed.

Maybe you have to introduce a python wrapper in order to catch the
exception, I don't know (or just match the output for /FATAL:
*database.*does not exist/?).

Thanks for considering,

  [1]: http://lists.debian.org/debian-release/2009/02/msg00401.html


-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
The pure and simple truth is rarely pure and never simple.
                -- Oscar Wilde




Reply to: