Skip to content

Commit

Permalink
analytics.go: Fix typo in error message formatting (#1352)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjpotter92 authored Aug 12, 2024
1 parent f73e36e commit df185aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handlers/analytics.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ func (c *AnalyticsHandlersCollection) Log() httprouter.Handle {
}
geo, err := parseAnalyticsGeo(r)
if err != nil {
glog.Warning("cannot parse geo info from analytics log request header, err=%v", err)
glog.Warningf("cannot parse geo info from analytics log request header, err=%v", err)
}
extData, err := c.extFetcher.Fetch(log.PlaybackID)
if err != nil {
metrics.Metrics.AnalyticsMetrics.AnalyticsLogsErrors.Inc()
glog.Warning("error enriching analytics log with external data, err=%v", err)
glog.Warningf("error enriching analytics log with external data, err=%v", err)
cerrors.WriteHTTPBadRequest(w, "Invalid playback_id", nil)
}

Expand Down

0 comments on commit df185aa

Please sign in to comment.