Bug: log caught errors instead of silently returning sanitized responses #212
Labels
No labels
activitypub
admin
api
architecture
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
content
database
deployment
design
dev-env
diagnostics
docs
documentation
email
enhancement
feature
federation
feed
health
homepage
implementation
integration
logging
mastodon
media
navigation
npm-packages
openapi
opengraph
packages
passkeys
preview
priority:high
priority:low
priority:medium
production
proof
proxy
public-routes
public-ui
release
safety
slug-api
slug-auth
slug-core
slug-federation
slug-media
slug-template
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
webauthn
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit#212
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Caught server-side errors can be converted into user-facing responses without being logged, making production failures hard to diagnose.
Observed while debugging passkey registration on slugkit.com:
/settings/passkeys/registerreturnedCould not verify passkey registration, but pod logs did not include the underlying verification error or stack trace.Expected
Any caught exception should be logged server-side before returning a sanitized response.
Scope
Acceptance criteria
Synced from todu comment by @todu on 2026-06-27T23:58:12.343Z
Review update
Acceptance criteria: 3/3 met. Blocking issues: 0. Warnings: 0.
Synced from todu comment by @todu on 2026-06-28T04:00:23.390Z
Close gate
Readiness: READY
Evidence:
fix: log sanitized caught errors) was reviewed/approved with Forgejo CI passing and acceptance criteria reported 3/3 met.mainis fast-forwarded toorigin/mainat859ed3c, merge commit for PR #218.Acceptance criteria:
Next action: close task.