ooni / explorer

OONI Explorer: uncover evidence of internet censorship worldwide
https://explorer.ooni.org
BSD 3-Clause "New" or "Revised" License
71 stars 37 forks source link

Serialize search page errors in SSR #751

Closed sarathms closed 1 month ago

sarathms commented 2 years ago

Fixes situations where API query errors out in the SSR phase. We reuse the serializeError function that already generates a useful error object that is rendered consistently on the page when API queries fail client-side (e.g after clicking the Filter Results or Load More buttons).

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
explorer ✅ Ready (Inspect) Visit Preview Apr 26, 2022 at 1:34AM (UTC)