Skip to content

Commit

Permalink
Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
paulyhedral committed Nov 2, 2024
1 parent d81fb09 commit a257aa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/contributions.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func setupContributionHandlers(g *gin.Engine, store persistence.CacheStore) {
// @Router /contributions [get]
func listContributions(c *gin.Context) {
opt, _ := options.FromQuerystring(c.Request.URL.RawQuery)
logging.Logger.Debug("opt", opt)

span := tracing.BuildSpanWithOptions(c.Request.Context(), "contributions", "list-contributions", opt)
vos, err := data.GetContributions(c.Request.Context(), bson.D{}, opt)
Expand Down

0 comments on commit a257aa5

Please sign in to comment.