track HistoryTreeFailed

This commit is contained in:
Abi Raja 2023-12-08 16:49:50 -05:00
parent 7155a0616e
commit 70a67c0ea7

View File

@ -219,6 +219,7 @@ function App() {
let historyTree;
try {
historyTree = extractHistoryTree(appHistory, currentVersion);
window.plausible("HistoryTreeFailed");
} catch {
toast.error(
"Version history is invalid. This shouldn't happen. Please contact support or open a Github issue."