Fix logging of ignored packets
This commit is contained in:
parent
736abcb5bc
commit
fc5f8d7a65
|
@ -9,7 +9,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func logPacketType(p stanza.Packet) {
|
func logPacketType(p stanza.Packet) {
|
||||||
log.Warn("Ignoring packet: %T\n", p)
|
log.Warnf("Ignoring packet: %T\n", p)
|
||||||
}
|
}
|
||||||
|
|
||||||
// HandleIq processes an incoming XMPP iq
|
// HandleIq processes an incoming XMPP iq
|
||||||
|
|
Loading…
Reference in a new issue