465a6f71
all: pass errors to panic, not strings
GraphQL's recovery middleware can't handle strings so it just logs a very not useful <nil>
Drew DeVault <sir@cmpwn.com> — 2025-01-23 11:27:01 UTC
Commit 465a6f71354e94f54f4545291ee747784a3e090b —
view raw patch
Parent(s):
fea51c61
| File | Status | + | − |
|---|---|---|---|
auth/bearer.go
|
M | +1 | -1 |
email/worker.go
|
M | +7 | -7 |
redis/middleware.go
|
M | +2 | -1 |
s3/middleware.go
|
M | +2 | -1 |
valid/valid.go
|
M | +4 | -4 |
webhooks/config.go
|
M | +3 | -3 |
webhooks/context.go
|
M | +1 | -1 |
webhooks/middleware.go
|
M | +3 | -2 |