mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
emit a warning when xous-names blocks on a connect
otherwise we have a silent failure, which is a bit confusing.
This commit is contained in:
parent
0065707528
commit
cf06035dcd
1 changed files with 1 additions and 0 deletions
|
|
@ -197,6 +197,7 @@ impl CheckedHashMap {
|
||||||
(*entry).current_conns += 1;
|
(*entry).current_conns += 1;
|
||||||
(Some(entry.sid), entry.token)
|
(Some(entry.sid), entry.token)
|
||||||
} else {
|
} else {
|
||||||
|
log::warn!("Attempt to connect, but no connections available: {:?}", name.to_str());
|
||||||
(None, None)
|
(None, None)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue