print conn error
This commit is contained in:
		@ -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!")
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user