add 'is db running' printed message when pg db connect fails
This commit is contained in:
parent
843bd754f6
commit
785e3d63a2
|
@ -111,7 +111,7 @@ class fpdb_db:
|
|||
password = password,
|
||||
database = database)
|
||||
except:
|
||||
msg = "PostgreSQL connection to database (%s) user (%s) failed." % (database, user)
|
||||
msg = "PostgreSQL connection to database (%s) user (%s) failed. Are you sure the DB is running?" % (database, user)
|
||||
print msg
|
||||
raise FpdbError(msg)
|
||||
elif backend == fpdb_db.SQLITE:
|
||||
|
|
Loading…
Reference in New Issue
Block a user