Implement App functionality #11
10
src/data.rs
10
src/data.rs
@ -661,6 +661,11 @@ impl BrainData {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
if let Err(e) = update_vm_req.1.send(update_vm_resp.clone()) {
|
||||||
|
log::warn!(
|
||||||
|
"CLI RX dropped before receiving UpdateVMResp {update_vm_resp:?}. Error: {e:?}"
|
||||||
|
);
|
||||||
|
}
|
||||||
if update_vm_resp.error != "" {
|
if update_vm_resp.error != "" {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -697,11 +702,6 @@ impl BrainData {
|
|||||||
update_vm_resp.error = "VM Contract not found.".to_string();
|
update_vm_resp.error = "VM Contract not found.".to_string();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if let Err(e) = update_vm_req.1.send(update_vm_resp.clone()) {
|
|
||||||
log::warn!(
|
|
||||||
"CLI RX dropped before receiving UpdateVMResp {update_vm_resp:?}. Error: {e:?}"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn submit_newvm_req(
|
pub async fn submit_newvm_req(
|
||||||
|
Loading…
Reference in New Issue
Block a user