{"record":{"id":"e2a04d4fa8c10b08","repo":"usebruno/bruno","slug":"workspace-path-does-not-exist","errorCode":null,"errorMessage":"Workspace path does not exist","messagePattern":"Workspace path does not exist","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/bruno-electron/src/ipc/workspace.js","lineNumber":291,"sourceCode":"  ipcMain.handle('renderer:close-workspace', async (event, workspacePath) => {\n    try {\n      lastOpenedWorkspaces.remove(workspacePath);\n      globalEnvironmentsStore.removeActiveGlobalEnvironmentUidForWorkspace(workspacePath);\n\n      if (workspaceWatcher) {\n        workspaceWatcher.removeWatcher(workspacePath);\n      }\n\n      return { success: true };\n    } catch (error) {\n      throw error;\n    }\n  });\n\n  ipcMain.handle('renderer:export-workspace', async (event, workspacePath, workspaceName) => {\n    try {\n      if (!workspacePath || !fs.existsSync(workspacePath)) {\n        throw new Error('Workspace path does not exist');\n      }\n\n      const defaultFileName = `${sanitizeName(workspaceName)}.zip`;\n      const { filePath, canceled } = await dialog.showSaveDialog(mainWindow, {\n        title: 'Export Workspace',\n        defaultPath: defaultFileName,\n        filters: [{ name: 'Zip Files', extensions: ['zip'] }]\n      });\n\n      if (canceled || !filePath) {\n        return { success: false, canceled: true };\n      }\n\n      const ignoredDirectories = ['node_modules', '.git'];\n\n      await new Promise((resolve, reject) => {\n        const output = fs.createWriteStream(filePath);\n        const archive = archiver('zip', { zlib: { level: 9 } });","sourceCodeStart":273,"sourceCodeEnd":309,"githubUrl":"https://github.com/usebruno/bruno/blob/9bdd81c7bdc57006e5f5ebffb79321a8d979f712/packages/bruno-electron/src/ipc/workspace.js#L273-L309","documentation":"Error \"Workspace path does not exist\" thrown in usebruno/bruno.","triggerScenarios":"Thrown at packages/bruno-electron/src/ipc/workspace.js:291 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the workspace directory exists; recreate or re-open it.","Fix the configured workspace path."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9bdd81c7bdc57006e5f5ebffb79321a8d979f712","analyzedAt":"2026-08-13T04:09:25.751Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}