We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 091e2dd commit 56f1afcCopy full SHA for 56f1afc
1 file changed
handlers/fun/chess/match.go
@@ -63,7 +63,7 @@ func matchOpponent(ctx context.Context, qtx *api.Queries, match api.ChessMatch,
63
}
64
opponent, err := qtx.UserByID(ctx, opponentID)
65
if err != nil {
66
- return nil, fmt.Errorf("UserByID", err)
+ return nil, fmt.Errorf("UserByID: %w", err)
67
68
return &opponent, nil
69
0 commit comments