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: David MENTRE
Subject: Re: [Maposmatic-dev] [PATCH] Improve PostGIS connection error reporting
Date: Thu, 7 Jan 2010 09:59:28 +0100

Hi Maxime,

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?

Regards,
d.




reply via email to

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