1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 09:30:56 +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) time.Sleep(2 * time.Second)
return nil return nil
} else { } else {
beego.Error("not exist the migrationMap name:" + name)
time.Sleep(2 * time.Second)
return errors.New("not exist the migrationMap name:" + name) return errors.New("not exist the migrationMap name:" + name)
} }
} }