Fix backend crash on api-keys status; surface real save errors

↗ view on GitHub · sloth-ninja · 2026-07-19 · ddda0262

GET /user/api-keys lacked try/catch: Express 4 + Node 22 turned one
transient DB error into a full process death during first live QA.
Handler wrapped; process-level rejection guards added. Frontend now
shows the server's detail (e.g. the 409 env-configured explanation)
instead of a generic alert.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Repository Sloth-ninja/JessicaOSS
Author sloth-ninja <ezanahaddis@gmail.com>
Authored
Parents 15ac7ce8
Stats 6 files changed , +81 , -6
Part of Fix: backend crash on api-keys status; error detail leaks

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-ddda0262.md from inside the repo you want the change in.

⬇ Download capture-commit-ddda0262.md