mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 10:42:52 +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