Log full Supabase error context for GET /projects

↗ view on GitHub · promptly3518 · 2026-05-03 · 0e38936a

Diagnostic for the 'invalid input syntax for type json' failure on
project listing. The previous handler dropped error.code, .details,
and .hint, leaving the frontend with just the bare message. Now the
500 response includes the full PostgREST error fields and Render logs
get a JSON-stringified copy.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Repository promptly3518/mike
Author promptly3518 <218282670+promptly3518@users.noreply.github.com>
Authored
Parents 39362a08
Stats 1 file changed , +8 , -3
Part of Supabase JSONB shared_with serialization fix (and diagnostic logging)

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-0e38936a.md from inside the repo you want the change in.

⬇ Download capture-commit-0e38936a.md