Skip to content

Commit

Permalink
update log level to warn.
Browse files Browse the repository at this point in the history
  • Loading branch information
mo3et committed Jul 10, 2024
1 parent b454aac commit 1d98c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/msggateway/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ func (c *Client) activeHeartbeat(ctx context.Context) {
select {
case <-ticker.C:
if err := c.writePingMsg(); err != nil {
log.ZError(c.ctx, "send Ping Message error.", err)
log.ZWarn(c.ctx, "send Ping Message error.", err)
return
}
case <-c.hbCtx.Done():
Expand Down

0 comments on commit 1d98c7e

Please sign in to comment.