forked from ghe0/brain-mock
send vm update error to user
This commit is contained in:
parent
aaa9226df6
commit
f0f5edac00
@ -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}",
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user