huridocs / uwazi

Uwazi is a web-based, open-source solution for building and sharing document collections
http://www.uwazi.io
MIT License
241 stars 80 forks source link

6819 - Add suspense to handle unexpected errors at component loaders/rendering #6823

Closed mfacar closed 2 months ago

mfacar commented 5 months ago

fixes #6819

PR checklist:

QA checklist:

sentry-io[bot] commented 5 months ago

🔍 Existing Issues For Review

Your pull request is modifying functions with the following pre-existing issues:

📄 File: app/react/entry-server.tsx

Function Unhandled Issue
EntryServer ServerRenderingFetchError: get entities -> Request failed with 500: Internal Server Error GET /e...
Event Count: 2 Affected Users: 1
EntryServer ServerRenderingFetchError: Request failed with 500: Internal Server Error GET /en/entity/k736vt5...
Event Count: 1 Affected Users: 1

Did you find this useful? React with a 👍 or 👎