Skip to content

Quiet expected PolicyEngine fallback errors#16

Merged
daphnehanse11 merged 1 commit into
mainfrom
codex/quiet-policyengine-fallback
May 12, 2026
Merged

Quiet expected PolicyEngine fallback errors#16
daphnehanse11 merged 1 commit into
mainfrom
codex/quiet-policyengine-fallback

Conversation

@daphnehanse11
Copy link
Copy Markdown
Collaborator

Summary\n- Treat PolicyEngine API failures as expected when the local /api fallback succeeds, avoiding noisy console errors during normal chart calculation.\n- Keep unexpected non-PolicyEngine exceptions logged before falling back.\n- Export PolicyEngineApiError so the fallback layer can distinguish expected external API failures.\n\n## Tests\n- npm run test\n- npm run build (with network access for the configured Google font)

@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cliff-watch Ready Ready Preview, Comment May 12, 2026 7:11pm

Request Review

@daphnehanse11 daphnehanse11 merged commit b25b133 into main May 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant