Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore: tracing level on macro_env_var (#1348)

Will Hutchinson19d31ae62308
diff --git a/rust/cloud-storage/macro_env_var/src/lib.rs b/rust/cloud-storage/macro_env_var/src/lib.rs
index 176975a3a6..eff7311c9e 100644
--- a/rust/cloud-storage/macro_env_var/src/lib.rs
+++ b/rust/cloud-storage/macro_env_var/src/lib.rs
@@ -98,7 +98,7 @@ macro_rules! env_var {
#[doc = "Attempt to create a new instance of [Self] by reading `" $n:snake:upper "` from the environment variables.
If this value does not exist this returns a [std::env::VarError]"]
#[allow(dead_code)]
- #[tracing::instrument(err)]
+ #[tracing::instrument(err, level = tracing::Level::TRACE)]
$v fn new() -> Result<Self, $crate::VarNameErr> {
let res = $crate::read_env($crate::paste::paste! { stringify!([<$n:snake:upper>]) })?;
Ok(Self::Runtime(std::sync::Arc::from(res)))