candle-annotator/src/app/api/upload
Marko Djordjevic aace19b7f4 fix: replace error.message with generic "Internal server error" in all API catch blocks
Prevents leaking internal error details to clients across 7 route files:
health, candles, annotations, annotations/[id], upload, export, span-annotations/export.
Server-side console.error logging preserved for debugging.

Closes task 4.6.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-18 11:16:02 +01:00
..
route.ts fix: replace error.message with generic "Internal server error" in all API catch blocks 2026-02-18 11:16:02 +01:00