diff --git a/src/lib-rust/src/locator.rs b/src/lib-rust/src/locator.rs index 2fc0ba53..f5bfe2df 100644 --- a/src/lib-rust/src/locator.rs +++ b/src/lib-rust/src/locator.rs @@ -309,6 +309,11 @@ impl VelopackLocator { } let new_id = Uuid::new_v4(); std::fs::write(&beta_id_path, &new_id).expect("Unable to write .betaId file"); + if let Err(_e) = std::fs::write(&beta_id_path, &new_id) { + warn!("Couldn't write out staging userId."); + } else { + info!("Generated new staging userId: {}", new_id.to_string()); + } new_id.to_string() } }