We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39c6476 commit d1577e7Copy full SHA for d1577e7
internal/device-agent/states/connected/connected.go
@@ -109,7 +109,7 @@ func (c *Connected) Enter(ctx context.Context) statemachine.Event {
109
c.rc.SetToken(nil)
110
return statemachine.EventDisconnect
111
case errors.Is(e, ErrLostConnection):
112
- c.notifier.Infof("Lost connection, reconnecting..")
+ c.logger.Infof("Lost connection, reconnecting..")
113
attempt = 0
114
case errors.Is(e, context.Canceled):
115
// we got cancelled (shutdown or disconnect event)
0 commit comments