Global app.onError handler already in app.ts catches all unhandled route exceptions. Production mode returns "Internal server error" only. Tests verify no stack traces or file paths leak in responses. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>