getappmap / vscode-appland

AppLand extension for VSCode
MIT License
142 stars 16 forks source link

fix: Log errors that would prevent Navie from servicing requests #1013

Closed dustinbyrne closed 2 months ago

dustinbyrne commented 2 months ago

E.g.:

{
  "event": "appland.appmap/debug/exception",
  "properties": {
    "appmap.debug.exception": "Error: appmap rpc --port 0 exited with code 1",
    "appmap.debug.error_code": "ProcessFailure",
    "appmap.debug.log": "Stderr: --navie-provider option not provided, and none of OPENAI_API_KEY AZURE_OPENAI_API_KEY ANTHROPIC_API_KEY are available. Using remote Navie provider.\n\nStderr: Detected code editor: vscode\nSetting RPC configuration: {\"projectDirectories\":[\"\"],\"appmapConfigFiles\":[\"\"]}\n\nStderr: [Error: ENOENT: no such file or directory, scandir '.appmap/navie/history'] {\n  errno: -2,\n  code: 'ENOENT',\n  syscall: 'scandir',\n  path: '.appmap/navie/history'\n}\n",
    "appmap.debug.version": "3.163.4"
  }
}
appland-release commented 2 months ago

:tada: This PR is included in version 0.129.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: