More readable log in microdroid_manager
Add bit more detail when printing error.
Bug: 297621792
Change-Id: I56440a2fed86d50623effe0f43c79f03d7fece96
Test: TH
diff --git a/microdroid_manager/src/main.rs b/microdroid_manager/src/main.rs
index a48d540..5a5b34a 100644
--- a/microdroid_manager/src/main.rs
+++ b/microdroid_manager/src/main.rs
@@ -341,7 +341,9 @@
let mut file = match File::open(path) {
Ok(dp) => dp,
Err(e) => {
- info!("{e:?}. Assumes <0>");
+ info!(
+ "Assumes that debug policy is disabled because failed to read debug policy ({e:?})"
+ );
return Ok(Some(false));
}
};