diff --git a/services/horizon/internal/init.go b/services/horizon/internal/init.go index 901ac9a185..04755a0807 100644 --- a/services/horizon/internal/init.go +++ b/services/horizon/internal/init.go @@ -21,7 +21,7 @@ import ( func mustNewDBSession(subservice db.Subservice, databaseURL string, maxIdle, maxOpen int, registry *prometheus.Registry) db.SessionInterface { session, err := db.Open("postgres", databaseURL) if err != nil { - log.Fatalf("cannot open Horizon DB: %v", err) + log.Fatalf("cannot open %v DB: %v", subservice, err) } session.DB.SetMaxIdleConns(maxIdle)