refactor: return errors with stack traces, where appropriate
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M internal/stats/goatcounter/count.go → internal/stats/goatcounter/count.go
@@ -69,7 +69,7 @@ gc.log.Warn("could not log page view", "error", err) } } -func (gc *Goatcounter) count(userReq *http.Request, title string) error { +func (gc *Goatcounter) count(userReq *http.Request, title string) errors.E { body, err := json.Marshal(&countBody{ NoSessions: true, Hits: []hit{