mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-29 01:41:22 +00:00
Copilot review flagged two things: 1. console.error inside the handler fires on every request when the key is missing, which spams logs and can mask other errors. Moved the read to module scope so the warning fires once at module load. 2. 'Content extraction service is not configured' tells the client a bit too much about deployment state. Reply with a generic 'Content extraction is unavailable' instead, while keeping the detailed reason in the server log. Also bumped the status from 500 to 503 since 'service unavailable due to missing config' is what we are actually telling the client now. |
||
|---|---|---|
| .. | ||
| emails/welcome | ||
| og | ||
| onboarding | ||