Print error using regular println. Fixes #146
We can't use our own logger because it hasn't been set up properly at that point.
This commit is contained in:
parent
ce05634f38
commit
2e45e4d015
@ -42,7 +42,7 @@ func main() {
|
|||||||
db := utils.NewDatabase()
|
db := utils.NewDatabase()
|
||||||
err := utils.DBSanityCheck(db)
|
err := utils.DBSanityCheck(db)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Errorln(err)
|
fmt.Println(err)
|
||||||
|
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user