Lower the interactor error to warning

This commit is contained in:
Bohdan Horbeshko 2021-12-04 22:32:12 -05:00
parent 2a1c09fcdd
commit ad6e92e6d6

View file

@ -154,8 +154,7 @@ func (c *Client) interactor() {
for { for {
state, ok := <-c.authorizer.State state, ok := <-c.authorizer.State
if !ok { if !ok {
gateway.SendMessage(c.jid, "", "Interactor is disconnected", c.xmpp) log.Warn("Interactor is disconnected")
log.Error("Interactor is disconnected")
return return
} }