GrafanaRoute: Recover from errors (#103166)

This commit is contained in:
Torkel Ödegaard
2025-04-01 15:44:19 +02:00
committed by GitHub
parent 9358a557ee
commit c075d6111b
+1 -1
View File
@@ -46,7 +46,7 @@ export function GrafanaRoute(props: Props) {
navigationLogger('GrafanaRoute', false, 'Rendered', props.route);
return (
<ErrorBoundary>
<ErrorBoundary dependencies={[props.route]}>
{({ error, errorInfo }) => {
if (error) {
return <GrafanaRouteError error={error} errorInfo={errorInfo} />;