fix other calls to handle_frontend_exception

This commit is contained in:
Khaleel Al-Adhami 2024-10-16 11:27:05 -07:00
parent da8200bb78
commit c2925fba74

View File

@ -743,6 +743,7 @@ export const useEventLoop = (
addEvents([ addEvents([
Event(`${exception_state_name}.handle_frontend_exception`, { Event(`${exception_state_name}.handle_frontend_exception`, {
stack: error.stack, stack: error.stack,
component_stack: "",
}), }),
]); ]);
return false; return false;
@ -754,6 +755,7 @@ export const useEventLoop = (
addEvents([ addEvents([
Event(`${exception_state_name}.handle_frontend_exception`, { Event(`${exception_state_name}.handle_frontend_exception`, {
stack: event.reason.stack, stack: event.reason.stack,
component_stack: "",
}), }),
]); ]);
return false; return false;