fix: Use anyhow::anyhow! instead of .into() for error type
All checks were successful
BotServer CI/CD / build (push) Successful in 4m19s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-04-04 08:28:54 -03:00
parent 0d3cfbe0f7
commit c05e40d35b

View file

@ -64,7 +64,7 @@ impl AuthConfig {
let result = if let Ok(rt) = rt {
rt.block_on(async { sm.get_secret(crate::core::secrets::SecretPaths::JWT).await })
} else {
Err("Failed to create runtime".into())
Err(anyhow::anyhow!("Failed to create runtime"))
};
let _ = tx.send(result);
});