From ceaa60f6911d0f49c1fd09a5e0a909af32910eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Fri, 8 May 2026 23:19:24 -0400 Subject: [PATCH] fix: handle error when getting group by parms during group assignment --- services/context/group.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/context/group.go b/services/context/group.go index 7cf31a9e2e..80117e2ca9 100644 --- a/services/context/group.go +++ b/services/context/group.go @@ -111,6 +111,10 @@ func groupAssignment(ctx commonCtx, doer *user_model.User, isSigned bool, handle if repoGroup.Group == nil { err = getGroupByParams(ctx, repoGroup, handleNotFound, handleOtherError) } + if err != nil { + handleOtherError("GetGroupByParams", err) + return + } if ctx.Written() { return }