diff options
Diffstat (limited to 'models/migrations/v20.go')
-rw-r--r-- | models/migrations/v20.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/models/migrations/v20.go b/models/migrations/v20.go index 45d7e49ca8..982914a06e 100644 --- a/models/migrations/v20.go +++ b/models/migrations/v20.go @@ -13,6 +13,7 @@ import ( "path/filepath" "strconv" + "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/setting" "github.com/go-xorm/xorm" @@ -40,7 +41,8 @@ func useNewNameAvatars(x *xorm.Engine) error { for _, name := range names { userID, err := strconv.ParseInt(name, 10, 64) if err != nil { - return err + log.Warn("ignore avatar %s rename: %v", name, err) + continue } var user User |