add some debug around deserialization errors

This commit is contained in:
bunnie 2022-06-23 04:17:37 +08:00
parent 8c986035b8
commit ad22618c8d
2 changed files with 4 additions and 0 deletions

View file

@ -770,6 +770,8 @@ pub(crate) fn deserialize_password(data: Vec::<u8>) -> Option<PasswordRecord> {
return None;
}
}
} else {
log::debug!("invalid line skipped: {:?}", line);
}
}
Some(pr)

View file

@ -553,6 +553,8 @@ pub(crate) fn deserialize_app_info(descriptor: Vec::<u8>) -> Option::<AppInfo> {
return None;
}
}
} else {
log::debug!("invalid line skipped: {:?}", line);
}
}
if appinfo.name.len() > 0