mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +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;
|
||||
(Some(entry.sid), entry.token)
|
||||
} else {
|
||||
log::warn!("Attempt to connect, but no connections available: {:?}", name.to_str());
|
||||
(None, None)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue