From 0d74d43eb67ac9ac9d004532711567e84e383688 Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Mon, 11 Dec 2023 19:05:59 -0500 Subject: [PATCH] fix bug --- frontend/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 4f3afb2..550eb20 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -245,8 +245,8 @@ function App() { let historyTree; try { historyTree = extractHistoryTree(appHistory, currentVersion); - addEvent("HistoryTreeFailed"); } catch { + addEvent("HistoryTreeFailed"); toast.error( "Version history is invalid. This shouldn't happen. Please contact support or open a Github issue." );