maposmatic-dev
[Top][All Lists]
Advanced

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

Re: [Maposmatic-dev] [PATCH] Improve PostGIS connection error reporting


From: Maxime Petazzoni
Subject: Re: [Maposmatic-dev] [PATCH] Improve PostGIS connection error reporting
Date: Thu, 7 Jan 2010 10:07:57 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

* David MENTRE <address@hidden> [2010-01-07 09:59:28]:

> 2010/1/7 Maxime Petazzoni <address@hidden>:
> > Add an error message when the Nominatim querier fails to contact the
> > local PostGIS database.
> [...]
> > +    except psycopg2.OperationalError, e:
> > +        print "Could not connect to the PostGIS database: ", e
> 
> Wouldn't it better to put this in a log file?

Most likely. How do you log "properly" Django?

- Maxime
-- 
Maxime Petazzoni <http://www.bulix.org>
 ``One by one, the penguins took away my sanity.''
Linux kernel and software developer at MontaVista Software

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]