Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshi-yb committed Feb 20, 2025
1 parent 184c8b5 commit 8b14ad3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion yb-voyager/src/callhome/diagnostics.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,5 @@ func SendPayload(payload *Payload) error {
// Note: This is a temporary solution. A better solution would be to have
// properly structured errors and only send the generic error message to callhome.
func SanitizeErrorMsg(errorMsg string) string {
// return "" // For now, returning empty string. After thorough testing, we can return the specific error message.
return strings.Split(errorMsg, ":")[0]
}

0 comments on commit 8b14ad3

Please sign in to comment.