cesium-ml / cesium_web

Cesium Web Frontend
Other
42 stars 18 forks source link

Add helpful error message if DB connection fails #221

Open cesium-sync opened 7 years ago

cesium-sync commented 7 years ago

On the connection, you can do conn.execute('select 1;') and check for an OperationalError (raised by psycopg2).

Then remind the user to check the following: