Skip to content

Commit

Permalink
fix: suppress telemetry send err msg (#1718)
Browse files Browse the repository at this point in the history
Signed-off-by: Keming <kemingyang@tensorchord.ai>
  • Loading branch information
kemingy committed Aug 2, 2023
1 parent 3345804 commit af583f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/app/telemetry/reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (r *defaultReporter) Identify() {
Timestamp: time.Now(),
Traits: segmentio.NewTraits(),
}); err != nil {
logrus.Warn("telemetry failed")
logrus.Debug("telemetry failed")
return
}
}
Expand All @@ -176,7 +176,7 @@ func (r *defaultReporter) Telemetry(command string, fields ...TelemetryField) {
field(&t.Properties)
}
if err := r.client.Enqueue(t); err != nil {
logrus.Warn(err)
logrus.Debug(err)
}
// make sure the msg can be sent out
r.client.Close()
Expand Down

0 comments on commit af583f4

Please sign in to comment.