From e7bf165934ab0013404fa2a1045dd581e583041a Mon Sep 17 00:00:00 2001 From: binwiederhier Date: Wed, 24 May 2023 21:59:04 -0400 Subject: [PATCH] Formatting --- web/src/components/ErrorBoundary.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/src/components/ErrorBoundary.jsx b/web/src/components/ErrorBoundary.jsx index 9c4bd20..9ce9812 100644 --- a/web/src/components/ErrorBoundary.jsx +++ b/web/src/components/ErrorBoundary.jsx @@ -46,9 +46,7 @@ class ErrorBoundaryImpl extends React.Component { // Fetch additional info and a better stack trace StackTrace.fromError(error).then((stack) => { console.error("[ErrorBoundary] Stacktrace fetched", stack); - const stackString = stack - .map((el) => ` at ${el.functionName} (${el.fileName}:${el.columnNumber}:${el.lineNumber})`) - .join("\n"); + const stackString = stack.map((el) => ` at ${el.functionName} (${el.fileName}:${el.columnNumber}:${el.lineNumber})`).join("\n"); const niceStack = `${error.toString()}\n${stackString}`; this.setState({ niceStack }); });