mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 17:10:50 +00:00
migration: update the debug error
This commit is contained in:
parent
31f0ac4ce3
commit
564c3bbeb5
@ -171,6 +171,8 @@ func Rollback(name string) error {
|
||||
time.Sleep(2 * time.Second)
|
||||
return nil
|
||||
} else {
|
||||
beego.Error("not exist the migrationMap name:" + name)
|
||||
time.Sleep(2 * time.Second)
|
||||
return errors.New("not exist the migrationMap name:" + name)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user