48250772
Remove %e formatting verbs
%e is not valid for formatting error values: > %e scientific notation, e.g. -1.234456e+78 Instead, use %w when using fmt.Errorf (for error wrapping) and %v when using log.Printf (%w is not valid in that context).
Simon Ser <contact@emersion.fr> — 2021-08-26 10:02:46 UTC
Commit 4825077296f22e1bfd33a524e32481af4a7ec3c1 —
view raw patch
Parent(s):
3c6ab9bd
| File | Status | + | − |
|---|---|---|---|
auth/bearer.go
|
M | +2 | -2 |
auth/middleware.go
|
M | +2 | -2 |
email/worker.go
|
M | +1 | -1 |
server/email.go
|
M | +1 | |
server/server.go
|
M | +1 | -1 |
webhooks/legacy.go
|
M | +2 | -2 |
webhooks/queue.go
|
M | +2 | -2 |