mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
add some debug around deserialization errors
This commit is contained in:
parent
8c986035b8
commit
ad22618c8d
2 changed files with 4 additions and 0 deletions
|
|
@ -770,6 +770,8 @@ pub(crate) fn deserialize_password(data: Vec::<u8>) -> Option<PasswordRecord> {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
log::debug!("invalid line skipped: {:?}", line);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Some(pr)
|
Some(pr)
|
||||||
|
|
|
||||||
|
|
@ -553,6 +553,8 @@ pub(crate) fn deserialize_app_info(descriptor: Vec::<u8>) -> Option::<AppInfo> {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
log::debug!("invalid line skipped: {:?}", line);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if appinfo.name.len() > 0
|
if appinfo.name.len() > 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue