print conn error
This commit is contained in:
parent
8e76d2a6cd
commit
3dba9b23dc
@ -71,7 +71,7 @@ func connectToDB() *sql.DB {
|
||||
for {
|
||||
connection, err := openDB(dsn)
|
||||
if err != nil {
|
||||
log.Println("Postgres not yet ready ...")
|
||||
log.Println("Postgres not yet ready ...: ", err)
|
||||
counts++
|
||||
} else {
|
||||
log.Println("Connected to Postgres!")
|
||||
|
Loading…
Reference in New Issue
Block a user