mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-13 00:03:57 +00:00
add tracing to get of authed client
This commit is contained in:
@@ -399,9 +399,10 @@ impl AuthedClient {
|
||||
)
|
||||
.send()
|
||||
.await
|
||||
.context(format!(
|
||||
"Executing request from authed http client to {url} with query {query:?}",
|
||||
))
|
||||
.map_err(|e| {
|
||||
tracing::error!("Error executing get request from authed http client to {url} with query {query:?}: {e}");
|
||||
anyhow::anyhow!("Error executing get request from authed http client to {url} with query {query:?}: {e}")
|
||||
})
|
||||
}
|
||||
|
||||
pub async fn get_id_token(&self, audience: &str) -> anyhow::Result<String> {
|
||||
|
||||
Reference in New Issue
Block a user