track error

pull/3578/head
filip mertens 2 years ago committed by Aniket
parent cc7622a8ba
commit 8865dd8a97
  1. 1
      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 {

Loading…
Cancel
Save