all repos — homestead @ a9f47f4e4ed3223e86dc1d5c3edd005b8d9ce589

Code for my website

refactor: return errors with stack traces, where appropriate

Alan Pearce
commit

a9f47f4e4ed3223e86dc1d5c3edd005b8d9ce589

parent

f17c0bd9ce8ad16b39c9c5ba80c917049e135bed

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M internal/stats/goatcounter/count.gointernal/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{