Skip to content

Commit a32f5d6

Browse files
Lairon Acosta GuardiasLairon Acosta Guardias
authored andcommitted
removing panic
1 parent a9dbada commit a32f5d6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pgdb/pg_db.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ func Connect(pgOptions *pg.Options) *pg.DB {
2626
_, err := db.QueryOne(pg.Scan(&n), "SELECT 1")
2727
if err != nil {
2828
log.Panicf("Postgres connection error %+v\n", err)
29-
panic(err)
3029
}
3130

3231
log.Println("Successfully connected to ->", db.Options().Addr)

0 commit comments

Comments
 (0)