GrafanaRoute: Recover from errors (#103166)
This commit is contained in:
@@ -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} />;
|
||||
|
||||
Reference in New Issue
Block a user