Skip to content

Commit

Permalink
Fix passthrough error linting issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
zyro committed Nov 24, 2024
1 parent 79493f1 commit 6dfa70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/runtime_lua_nakama.go
Original file line number Diff line number Diff line change
Expand Up @@ -7382,7 +7382,7 @@ func (n *RuntimeLuaNakamaModule) leaderboardRecordsListCursorFromRank(l *lua.LSt

leaderboard := n.leaderboardCache.Get(id)
if leaderboard == nil {
l.RaiseError(ErrLeaderboardNotFound.Error())
l.RaiseError("error listing leaderboard records: %s", ErrLeaderboardNotFound.Error())
return 0
}

Expand Down

0 comments on commit 6dfa70b

Please sign in to comment.