From 0ea6f091e8ac4a9cb25e2b92a58072fe177e8d9f Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Fri, 8 Dec 2023 16:29:15 -0500 Subject: [PATCH] add plausible tracking for errors --- frontend/src/App.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index a714b6e..14b16a4 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -162,6 +162,7 @@ function App() { toast.error( "No parent version set. Contact support or open a Github issue." ); + window.plausible("ParentVersionNull"); return prev; } @@ -211,6 +212,7 @@ function App() { toast.error( "No current version set. Contact support or open a Github issue." ); + window.plausible("CurrentVersionNull"); return; }