3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

add an error message for schema changes

This commit is contained in:
Shivaram Lingamneni 2019-01-21 20:57:39 -05:00
parent 85276c5e6d
commit f154ea9583

View File

@ -190,7 +190,7 @@ func UpgradeDB(config *Config) (err error) {
})
if err != nil {
log.Println("database upgrade failed and was rolled back")
log.Printf("database upgrade failed and was rolled back: %v\n", err)
}
return err
}