send vm update error to user

This commit is contained in:
ghe0 2025-01-25 17:13:19 +02:00
parent aaa9226df6
commit f0f5edac00
Signed by: ghe0
GPG Key ID: 451028EE56A0FBB4

@ -163,9 +163,8 @@ impl BrainCli for BrainCliMock {
Ok(Response::new(response)) Ok(Response::new(response))
} }
Err(e) => { Err(e) => {
log::error!("Something weird happened. Reached error {e:?}");
Err(Status::unknown( Err(Status::unknown(
"Request failed due to unknown error. Please try again or contact the DeTEE devs team.", "Update VM request failed due to error: {e}",
)) ))
} }
} }