From 564c3bbeb512d7d9e7fe439ac6c02f400c50b516 Mon Sep 17 00:00:00 2001 From: astaxie Date: Thu, 14 Aug 2014 13:44:05 +0800 Subject: [PATCH] migration: update the debug error --- migration/migration.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/migration/migration.go b/migration/migration.go index 02e8d0db..47035e6a 100644 --- a/migration/migration.go +++ b/migration/migration.go @@ -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) } }