From c05e40d35b4eb7a8d4d1cb2c15f058ad0724ff87 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Sat, 4 Apr 2026 08:28:54 -0300 Subject: [PATCH] fix: Use anyhow::anyhow! instead of .into() for error type --- src/security/auth_api/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/security/auth_api/config.rs b/src/security/auth_api/config.rs index 0a7898c6..41fc9868 100644 --- a/src/security/auth_api/config.rs +++ b/src/security/auth_api/config.rs @@ -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); });