Commit 564c3bbe authored by astaxie's avatar astaxie

migration: update the debug error

parent 31f0ac4c
......@@ -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)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment