Skip to content

Commit

Permalink
Update diagnose transmit output
Browse files Browse the repository at this point in the history
Update the diagnose report transmission output to match the Ruby gem,
and the other integrations.

- Print a line informing the user the report is being transmitted.
- Align the diagnose report link with the report token.
  • Loading branch information
tombruijn committed Nov 2, 2021
1 parent 2bdcb44 commit eecb44d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/nodejs/src/cli/diagnose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ export class Diagnose {
}

sendReport(data: object) {
console.log(" Transmitting diagnostics report")
console.log("")
this.#diagnose.sendReport(data)
}

Expand Down
2 changes: 1 addition & 1 deletion packages/nodejs/src/diagnose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export class DiagnoseTool {
const { token } = JSON.parse(responseData.toString())
console.log(` Your support token:`, token)
console.log(
` View this report: https://appsignal.com/diagnose/${token}`
` View this report: https://appsignal.com/diagnose/${token}`
)
} else {
console.error(
Expand Down

0 comments on commit eecb44d

Please sign in to comment.