This commit is contained in:
Unknwon 2014-12-18 03:26:09 -05:00
parent 57b3be4016
commit c4820f119d
2 changed files with 4 additions and 1 deletions

View file

@ -105,6 +105,9 @@ func Dashboard(ctx *middleware.Context) {
// FIXME: cache results?
u, err := models.GetUserByName(act.ActUserName)
if err != nil {
if err == models.ErrUserNotExist {
continue
}
ctx.Handle(500, "GetUserByName", err)
return
}