Fix db.Ping() call

pull/48/head
Matt Baer 6 years ago
parent dad79adfd2
commit 11de25237d
  1. 2
      app.go

@ -414,7 +414,7 @@ func Serve() {
defer shutdown(app)
// Test database connection
err = db.Ping()
err = app.db.Ping()
if err != nil {
log.Error("Database ping failed: %s", err)
}

Loading…
Cancel
Save