tokio-xmpp: raise log level of IQ tracker
This commit is contained in:
parent
366f2c8349
commit
8fe026cad3
1 changed files with 3 additions and 1 deletions
|
|
@ -306,10 +306,12 @@ impl IqResponseTracker {
|
||||||
let mut map = self.map.lock().unwrap();
|
let mut map = self.map.lock().unwrap();
|
||||||
match map.remove(&key) {
|
match map.remove(&key) {
|
||||||
None => {
|
None => {
|
||||||
log::trace!("not handling IQ response from {:?} with id {:?}: no active tracker for this tuple", key.0, key.1);
|
log::debug!("not handling IQ response from {:?} with id {:?}: no active tracker for this tuple", key.0, key.1);
|
||||||
|
log::trace!("active trackers: {map:?}");
|
||||||
ControlFlow::Continue(payload.into_iq(key.0, to, key.1))
|
ControlFlow::Continue(payload.into_iq(key.0, to, key.1))
|
||||||
}
|
}
|
||||||
Some(sink) => {
|
Some(sink) => {
|
||||||
|
log::trace!("completing IQ {:?}", key.0);
|
||||||
sink.complete(payload);
|
sink.complete(payload);
|
||||||
ControlFlow::Break(())
|
ControlFlow::Break(())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue