From c2925fba7432013f39c643dc2d4470ab0ac90b5b Mon Sep 17 00:00:00 2001 From: Khaleel Al-Adhami Date: Wed, 16 Oct 2024 11:27:05 -0700 Subject: [PATCH] fix other calls to handle_frontend_exception --- reflex/.templates/web/utils/state.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reflex/.templates/web/utils/state.js b/reflex/.templates/web/utils/state.js index 0fe0db8c1..24092f235 100644 --- a/reflex/.templates/web/utils/state.js +++ b/reflex/.templates/web/utils/state.js @@ -743,6 +743,7 @@ export const useEventLoop = ( addEvents([ Event(`${exception_state_name}.handle_frontend_exception`, { stack: error.stack, + component_stack: "", }), ]); return false; @@ -754,6 +755,7 @@ export const useEventLoop = ( addEvents([ Event(`${exception_state_name}.handle_frontend_exception`, { stack: event.reason.stack, + component_stack: "", }), ]); return false;