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:
parent
85276c5e6d
commit
f154ea9583
@ -190,7 +190,7 @@ func UpgradeDB(config *Config) (err error) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
if err != nil {
|
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
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user