564c3bbe by astaxie

migration: update the debug error

1 parent 31f0ac4c
...@@ -171,6 +171,8 @@ func Rollback(name string) error { ...@@ -171,6 +171,8 @@ func Rollback(name string) error {
171 time.Sleep(2 * time.Second) 171 time.Sleep(2 * time.Second)
172 return nil 172 return nil
173 } else { 173 } else {
174 beego.Error("not exist the migrationMap name:" + name)
175 time.Sleep(2 * time.Second)
174 return errors.New("not exist the migrationMap name:" + name) 176 return errors.New("not exist the migrationMap name:" + name)
175 } 177 }
176 } 178 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!