{"record":{"id":"fb63dddb9bf76c5c","repo":"diegosouzapw/OmniRoute","slug":"no-binary-found-for-tool","errorCode":null,"errorMessage":"No binary found for ${tool}","messagePattern":"No binary found for (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"src/lib/versionManager/index.ts","lineNumber":82,"sourceCode":"\n  stopMonitoring(tool);\n\n  if (info?.pid) {\n    await stopProcess(info.pid);\n  }\n\n  await setToolStatus(tool, \"stopped\");\n}\n\nexport async function restartTool(tool: string): Promise<{\n  pid: number;\n  port: number;\n}> {\n  const info = await getVersionManagerTool(tool);\n  const binaryPath = info?.binaryPath || (await getCurrentBinaryPath());\n\n  if (!binaryPath) {\n    throw new Error(`No binary found for ${tool}`);\n  }\n\n  const { pid, port } = await restartProcess(\n    binaryPath,\n    info?.port || undefined,\n    undefined,\n    info?.pid || undefined\n  );\n\n  const url = `http://127.0.0.1:${port}`;\n  if (isMonitoring(tool)) {\n    stopMonitoring(tool);\n  }\n  startMonitoring(tool, url);\n\n  return { pid, port };\n}\n","sourceCodeStart":64,"sourceCodeEnd":100,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/lib/versionManager/index.ts#L64-L100","documentation":"Error \"No binary found for ${tool}\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/lib/versionManager/index.ts:82 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}