mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 20:32:42 +01:00
work on #754
This commit is contained in:
parent
c4820f119d
commit
0a697517ac
1 changed files with 3 additions and 0 deletions
|
@ -213,6 +213,9 @@ func Profile(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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue