diff --git a/web/public/static/langs/en.json b/web/public/static/langs/en.json index a2ec2dea..38e8e527 100644 --- a/web/public/static/langs/en.json +++ b/web/public/static/langs/en.json @@ -389,6 +389,7 @@ "error_boundary_title": "Oh no, ntfy crashed", "error_boundary_description": "This should obviously not happen. Very sorry about this.
If you have a minute, please report this on GitHub, or let us know via Discord or Matrix.", "error_boundary_button_copy_stack_trace": "Copy stack trace", + "error_boundary_button_reload_ntfy": "Reload ntfy", "error_boundary_stack_trace": "Stack trace", "error_boundary_gathering_info": "Gather more info …", "error_boundary_unsupported_indexeddb_title": "Private browsing not supported", diff --git a/web/src/components/ErrorBoundary.jsx b/web/src/components/ErrorBoundary.jsx index 9715c0cb..adb177c6 100644 --- a/web/src/components/ErrorBoundary.jsx +++ b/web/src/components/ErrorBoundary.jsx @@ -101,11 +101,15 @@ class ErrorBoundaryImpl extends React.Component { }} />

-

+

-

+ + +

{t("error_boundary_stack_trace")}

{this.state.niceStack ? (
{this.state.niceStack}