We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da948e5 commit a8a607dCopy full SHA for a8a607d
go/gopg/main.go
@@ -33,7 +33,7 @@ func main() {
33
func setupDB(addr string) *pg.DB {
34
opt, err := pg.ParseURL(addr)
35
if err != nil {
36
- panic(fmt.Sprintf("failed to parse addr URL: %v", err))
+ panic(fmt.Sprintf("failed to parse addr URL %s: %v", addr, err))
37
}
38
db := pg.Connect(opt)
39
for _, model := range []interface{}{
0 commit comments