diff --git a/.changeset/smart-melons-march.md b/.changeset/smart-melons-march.md new file mode 100644 index 00000000..bfc3e3bc --- /dev/null +++ b/.changeset/smart-melons-march.md @@ -0,0 +1,8 @@ +--- +"eppo_core": patch +"python-sdk": patch +"ruby-sdk": patch +"rust-sdk": patch +--- + +Add more logging when configuration fails to fetch. diff --git a/eppo_core/src/configuration_poller.rs b/eppo_core/src/configuration_poller.rs index 4d2f256c..9e30ab9d 100644 --- a/eppo_core/src/configuration_poller.rs +++ b/eppo_core/src/configuration_poller.rs @@ -148,7 +148,9 @@ async fn configuration_poller( }; loop { - match fetcher.fetch_configuration().await { + match fetcher.fetch_configuration().await.inspect_err(|err| { + log::warn!("Failed to fetch configuration: {err:?}"); + }) { Ok(configuration) => { store.set_configuration(Arc::new(configuration)); update_status(Ok(()));