Skip to content

Commit

Permalink
chore(diagnose): update error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrombley committed May 13, 2021
1 parent da01359 commit f46290e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/diagnose/command_validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ data to the New Relic platform and verifying that it has been received.`,
log.Fatal("Failed to detect your system's hostname. Please contact New Relic support.")
}
if err == ErrPostEvent {
log.Fatal("There was a failure posting data to New Relic. This could be ")
log.Fatal("There was a failure posting data to New Relic.")
}
if err == ErrValidation {
log.Fatal("validation failed!")
log.Fatal("There was a failure locating the data that was posted to New Relic.")
}

log.Fatal(err)
Expand Down

0 comments on commit f46290e

Please sign in to comment.