Skip to content

Commit

Permalink
Fix agent diagnose report key
Browse files Browse the repository at this point in the history
The report key is `agent`, not `extension`. This mean that the Node.js
diagnose report on the server always reported this section as missing,
but it was just under a different key.
  • Loading branch information
tombruijn committed Oct 26, 2021
1 parent 67d7fc1 commit fbea22c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/nodejs/.changesets/send-agent-diagnose-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
bump: "patch"
---

Fix sending the agent diagnose report with all reports. It was sent, but with the wrong key, which made our server side validator report it as missing.
2 changes: 1 addition & 1 deletion packages/nodejs/src/diagnose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class DiagnoseTool {
installation: this.getInstallationReport(),
host: this.getHostData(),
app: {},
extension: this.#extension.diagnose(),
agent: this.#extension.diagnose(),
config: {
options: this.getConfigData(),
sources: {}
Expand Down

0 comments on commit fbea22c

Please sign in to comment.