mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
add more helpful debug output for token claim failure
This commit is contained in:
parent
9757c72519
commit
23a9b0cc34
1 changed files with 13 additions and 2 deletions
|
|
@ -42,9 +42,20 @@ impl<'a> TokenManager {
|
||||||
} else {
|
} else {
|
||||||
// throw a bone to the dev who has to debug this error. This typically only triggers after a major
|
// throw a bone to the dev who has to debug this error. This typically only triggers after a major
|
||||||
// refactor and some UX element was removed and we forgot to update it in this table here.
|
// refactor and some UX element was removed and we forgot to update it in this table here.
|
||||||
log::info!("Occupied token slots:");
|
log::info!("Occupied token slots: ***");
|
||||||
for t in self.tokens.iter() {
|
for t in self.tokens.iter() {
|
||||||
log::info!("{}", t.name);
|
log::info!(" {}", t.name);
|
||||||
|
}
|
||||||
|
log::info!("Expected token slots:");
|
||||||
|
for t in EXPECTED_BOOT_CONTEXTS.iter() {
|
||||||
|
log::info!(" {}", t);
|
||||||
|
}
|
||||||
|
for t in EXPECTED_APP_CONTEXTS.iter() {
|
||||||
|
log::info!(" {}", t);
|
||||||
|
}
|
||||||
|
#[cfg(feature="unsafe-app-loading")]
|
||||||
|
for t in self.extra_names.iter() {
|
||||||
|
log::info!("{}", t);
|
||||||
}
|
}
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue