Skip to content

Commit

Permalink
display as error (#7724)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored and lafriks committed Aug 3, 2019
1 parent 76408d5 commit 7d9a130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func initDBEngine() (err error) {
} else if i == setting.DBConnectRetries-1 {
return err
}
log.Debug("ORM engine initialization attempt #%d/%d failed. Error: %v", i+1, setting.DBConnectRetries, err)
log.Error("ORM engine initialization attempt #%d/%d failed. Error: %v", i+1, setting.DBConnectRetries, err)
log.Info("Backing off for %d seconds", int64(setting.DBConnectBackoff/time.Second))
time.Sleep(setting.DBConnectBackoff)
}
Expand Down

0 comments on commit 7d9a130

Please sign in to comment.