add trace to sending requests
This commit is contained in:
@@ -4,6 +4,7 @@ macro_rules! methods {
|
||||
pub async fn $method<T: for<'de> serde::Deserialize<'de>>(&self, url: String)
|
||||
-> Result<T>
|
||||
{
|
||||
log::trace!("{} {}", stringify!($method), url);
|
||||
let response = self.send(
|
||||
self.http_client.$method(&url)
|
||||
).await?;
|
||||
|
||||
Reference in New Issue
Block a user