diff --git a/frontend/app/components/ui/ErrorDetails/ErrorDetails.tsx b/frontend/app/components/ui/ErrorDetails/ErrorDetails.tsx index fe2467f0a..8f8ba65b4 100644 --- a/frontend/app/components/ui/ErrorDetails/ErrorDetails.tsx +++ b/frontend/app/components/ui/ErrorDetails/ErrorDetails.tsx @@ -24,7 +24,9 @@ function ErrorDetails(props: Props) { }; useEffect(() => { - props.fetchErrorStackList(sessionId, error.errorId); + if (sessionId) { + props.fetchErrorStackList(sessionId, error.errorId); + } }, []); return (