diff --git a/src/utils.rs b/src/utils.rs index a03e54d..e1b5fcf 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -192,7 +192,10 @@ pub async fn should_be_enabled( if !host_happ_preferences.is_happ_publisher_in_valid_jurisdiction( &happ_registration_details.publisher_jurisdiction, ) { - warn!("Happ {} will be disabled/uninstalled", installed_happ_id); + warn!( + "Happ {} will be disabled/uninstalled because publisher is in invalid jurisdiction ", + installed_happ_id + ); // Return false; app should not remain installed/enabled if publisher juridiction is invalid return false; } @@ -204,7 +207,7 @@ pub async fn should_be_enabled( &happ_registration_details.happ_jurisdictions, ) { warn!( - "Happ {} will be will be disabled/uninstalled", + "Happ {} will be will be disabled/uninstalled because host is in invalid jurisdiction", installed_happ_id ); // Return false; app should not remain installed/enabled if host juridiction is invalid @@ -215,7 +218,7 @@ pub async fn should_be_enabled( if !host_happ_preferences.is_happ_valid_category(&happ_registration_details.happ_categories) { warn!( - "Happ {} will be will be disabled/uninstalled", + "Happ {} will be will be disabled/uninstalled because happ category is invalid based on host preferences", installed_happ_id ); // Return false; app should not remain installed/enabled if happ category is invalid