add: debug SA id

Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
This commit is contained in:
Jia Chao 2024-10-15 10:17:29 +08:00
parent 6da497c4a5
commit 7024bf7dee

View File

@ -95,7 +95,10 @@ impl UpdateInfo {
debug!("Parser {key} content");
match key.as_str() {
"id" => self.id = xmlreader.next_characters(),
"id" => {
self.id = xmlreader.next_characters();
debug!("handle SA: {}", self.id);
},
"title" => self.title = xmlreader.next_characters(),
"severity" => {
self.severity = xmlreader.next_characters().parse::<Severity>().unwrap()