pull/429/head
hunterlong 2020-01-30 00:18:29 -08:00
parent d83e29c15d
commit de4143b4f8
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ func (c *Core) MigrateDatabase() error {
tx.Rollback()
}
}()
if tx.Error != nil {
if tx.Error() != nil {
log.Errorln(tx.Error())
return tx.Error()
}