Log the consequences of watch_apex_info failing
Bug: 400439023, 369375199
Test: n/a
Change-Id: I4a64b14079beea17de399b02d8ba539f2c05c2d9
diff --git a/keystore2/src/maintenance.rs b/keystore2/src/maintenance.rs
index 7b6ea68..3517286 100644
--- a/keystore2/src/maintenance.rs
+++ b/keystore2/src/maintenance.rs
@@ -251,7 +251,7 @@
if keystore2_flags::attest_modules() {
std::thread::spawn(move || {
Self::watch_apex_info()
- .unwrap_or_else(|e| log::error!("watch_apex_info failed: {e:?}"));
+ .unwrap_or_else(|e| log::error!("watch_apex_info failed, preventing keystore.module_hash.sent from being set to true; this may therefore block boot: {e:?}"));
});
} else {
rustutils::system_properties::write("keystore.module_hash.sent", "true")