Skip to content

Commit

Permalink
chore: continue if error getting db players
Browse files Browse the repository at this point in the history
  • Loading branch information
Subilan committed Aug 1, 2024
1 parent 1c0b262 commit 8514eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/server/involved-players.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func handleGetAllInvolvedPlayers(ctx *gin.Context) *errors.CustomErr {
dbPlayers, customErr := utils.GetTermPlayers("st" + strconv.Itoa(i))

if customErr != nil {
return customErr
continue
}

players = append(players, dbPlayers...)
Expand Down

0 comments on commit 8514eec

Please sign in to comment.