1
0
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:
astaxie 2014-08-14 13:44:05 +08:00
parent 31f0ac4ce3
commit 564c3bbeb5

View File

@ -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)
}
}