looker-open-source / looker-explore-assistant

A React Application for interacting with Looker data through natural language.
MIT License
83 stars 52 forks source link

Feat client error handling #55

Closed LukaFontanilla closed 2 months ago

LukaFontanilla commented 2 months ago

This commit focuses on improving client-side error handling for Explore Assistant Deployments. It adds a dependency react-error-boundary and wraps the entire app in this boundary. It uses the provided hook to catch common errors faced client-side and surfaces them in a detailed Error overlay. The error overlay provides:

Additionally webpack dev server error overlay is removed in development in favor of this detailed, custom error display.