feat: refactor to error display instead

Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
benjdlambert
2025-08-07 10:54:10 +02:00
parent 4b3ba2b048
commit 75ea6f14c5
12 changed files with 31 additions and 34 deletions
+2 -2
View File
@@ -16,7 +16,7 @@
import {
NotFoundErrorPage as SwappableNotFoundErrorPage,
Progress as SwappableProgress,
ErrorBoundary as SwappableErrorBoundary,
ErrorDisplay as SwappableErrorDisplay,
SwappableComponentBlueprint,
} from '@backstage/frontend-plugin-api';
@@ -50,7 +50,7 @@ export const ErrorBoundary = SwappableComponentBlueprint.make({
name: 'core.components.errorBoundary',
params: define =>
define({
component: SwappableErrorBoundary,
component: SwappableErrorDisplay,
loader: () => props => {
const { plugin, error, resetError } = props;
const title = `Error in ${plugin?.id}`;