diff --git a/packages/app-defaults/src/defaults/components.tsx b/packages/app-defaults/src/defaults/components.tsx
index 1e2fddca07..9b58694f2b 100644
--- a/packages/app-defaults/src/defaults/components.tsx
+++ b/packages/app-defaults/src/defaults/components.tsx
@@ -49,7 +49,7 @@ const DefaultBootErrorPage = ({ step, error }: BootErrorPageProps) => {
// TODO: figure out a nicer way to handle routing on the error page, when it can be done.
return (
-
+
);
};
diff --git a/packages/core-components/src/layout/ErrorPage/ErrorPage.tsx b/packages/core-components/src/layout/ErrorPage/ErrorPage.tsx
index 830abe6ec3..823571d8b3 100644
--- a/packages/core-components/src/layout/ErrorPage/ErrorPage.tsx
+++ b/packages/core-components/src/layout/ErrorPage/ErrorPage.tsx
@@ -21,7 +21,7 @@ import Typography from '@material-ui/core/Typography';
import React from 'react';
import { useNavigate } from 'react-router-dom';
import { Link } from '../../components/Link';
-import { LogViewer } from '../../components';
+import { CopyTextButton, WarningPanel } from '../../components';
import { useSupportConfig } from '../../hooks';
import { MicDrop } from './MicDrop';
@@ -60,6 +60,17 @@ const useStyles = makeStyles(
subtitle: {
color: theme.palette.textSubtle,
},
+ text: {
+ fontFamily: 'monospace',
+ whiteSpace: 'pre',
+ overflowX: 'auto',
+ marginRight: theme.spacing(2),
+ },
+ copyTextContainer: {
+ display: 'flex',
+ justifyContent: 'flex-end',
+ alignItems: 'flex-start',
+ },
}),
{ name: 'BackstageErrorPage' },
);
@@ -108,7 +119,25 @@ export function ErrorPage(props: IErrorPageProps) {
- {stack && }
+ {stack && (
+
+
+
+ Stack Trace
+
+ {stack}
+
+
+
+
+
+
+
+ )}
);
}
diff --git a/plugins/playlist/src/components/PlaylistPage/PlaylistPage.tsx b/plugins/playlist/src/components/PlaylistPage/PlaylistPage.tsx
index 4c9a0edbb7..b17fbd2fb7 100644
--- a/plugins/playlist/src/components/PlaylistPage/PlaylistPage.tsx
+++ b/plugins/playlist/src/components/PlaylistPage/PlaylistPage.tsx
@@ -84,6 +84,7 @@ export const PlaylistPage = () => {
);
}
diff --git a/plugins/scaffolder/src/components/ActionsPage/ActionsPage.tsx b/plugins/scaffolder/src/components/ActionsPage/ActionsPage.tsx
index 9957d22456..9c0276fa28 100644
--- a/plugins/scaffolder/src/components/ActionsPage/ActionsPage.tsx
+++ b/plugins/scaffolder/src/components/ActionsPage/ActionsPage.tsx
@@ -142,6 +142,7 @@ export const ActionsPage = () => {
);
}