write github actions error when user is unauthenticated

This commit is contained in:
Cole Mickens 2025-03-24 11:34:39 -07:00
parent 3a905ca44d
commit d347386c3f

View file

@ -366,7 +366,8 @@ async fn main_cli() -> Result<()> {
Some(state) Some(state)
} }
Err(err) => { Err(err) => {
tracing::error!("FlakeHub cache initialization failed: {}", err); tracing::error!("FlakeHub cache initialization failed: {}. Unable to authenticate to FlakeHub. Individuals must register at FlakeHub.com; Organizations must create an organization at FlakeHub.com.", err);
println!("::error title={{FlakeHub: Unauthenticated}}::{{Unable to authenticate to FlakeHub. Individuals must register at FlakeHub.com; Organizations must create an organization at FlakeHub.com.}}");
None None
} }
} }