From 8865dd8a975becde61d0ad96cb11c1cb4566efa2 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Wed, 29 Mar 2023 13:05:03 +0200 Subject: [PATCH] track error --- libs/remix-ui/workspace/src/lib/actions/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/remix-ui/workspace/src/lib/actions/index.ts b/libs/remix-ui/workspace/src/lib/actions/index.ts index 662ad81375..e34b9db417 100644 --- a/libs/remix-ui/workspace/src/lib/actions/index.ts +++ b/libs/remix-ui/workspace/src/lib/actions/index.ts @@ -124,6 +124,7 @@ export const initWorkspace = (filePanelPlugin) => async (reducerDispatch: React. plugin.setWorkspace({ name: name, isLocalhost: false }) dispatch(setCurrentWorkspace({ name: name, isGitRepo: false })) }else{ + _paq.push(['trackEvent', 'Storage', 'error', `Workspace in localstorage not found: ${localStorage.getItem("currentWorkspace")}`]) await basicWorkspaceInit(workspaces, workspaceProvider) } } else {