Skip to content

Commit

Permalink
Revert "fix: Store the exception and not an array with the exception …
Browse files Browse the repository at this point in the history
…for unca…" (#20877) (#20880)

This reverts commit 3fe8592.

Co-authored-by: Artur <[email protected]>
  • Loading branch information
vaadin-bot and Artur- authored Jan 20, 2025
1 parent 3fae764 commit c9e242e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ private void catchErrorsInDevMode(Document indexDocument) {
+ //
"};" + //
"window.addEventListener('unhandledrejection', e => {" + //
" window.Vaadin.ConsoleErrors.push(e.reason);" + //
" window.Vaadin.ConsoleErrors.push([e.reason]);" + //
"});" //
);
}
Expand Down

0 comments on commit c9e242e

Please sign in to comment.