FEATURE: Add "Recent Errors" tab and improved error modal (#2169)

This commit is contained in:
Michael Ficocelli
2025-06-16 19:43:21 -04:00
committed by GitHub
parent cf72937faf
commit 18f84396e2
17 changed files with 530 additions and 34 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ export function getErrorMessageWithStackAndCause(error: unknown, prefix = ""): s
const errorData = parseUnknownError(error);
let errorMessage = `${prefix}${errorData.errorAsString}`;
if (errorData.stack) {
errorMessage += `\nStack: ${errorData.stack}`;
errorMessage += `\n\nStack: ${errorData.stack}`;
}
if (errorData.causeAsString) {
errorMessage += `\nError cause: ${errorData.causeAsString}`;