bug fixes

This commit is contained in:
John Smith
2023-06-20 22:18:59 -04:00
parent c78cf5f10c
commit e80a3d3063
7 changed files with 387 additions and 73 deletions

View File

@@ -83,7 +83,7 @@ impl ClientApiConnection {
async fn process_veilid_update(&self, update: json::JsonValue) {
let comproc = self.inner.lock().comproc.clone();
let Some(kind) = update["kind"].as_str() else {
comproc.log_message(format!("missing update kind: {}", update));
comproc.log_message(Level::Error, format!("missing update kind: {}", update));
return;
};
match kind {
@@ -113,7 +113,7 @@ impl ClientApiConnection {
comproc.update_value_change(&update);
}
_ => {
comproc.log_message(format!("unknown update kind: {}", update));
comproc.log_message(Level::Error, format!("unknown update kind: {}", update));
}
}
}