Skip to content

Sanitize error responses to avoid leaking internals - #10

Open
presidojay1 wants to merge 1 commit into
stellXpress:mainfrom
presidojay1:seed-2
Open

presidojay1 wants to merge 1 commit into
stellXpress:mainfrom
presidojay1:seed-2

Conversation

@presidojay1

@presidojay1 presidojay1 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Updates the global exception filter to return a generic error to clients in production while logging full detail server-side.

Closes #9

@boluwacodes boluwacodes changed the title Seed task #2: contribution by presidojay1 Sanitize error responses to avoid leaking internals Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unhandled exceptions leak internal stack traces in API responses

1 participant