Skip to content

Commit

Permalink
Log API URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
elegaanz committed Sep 26, 2024
1 parent 7c36d2f commit e9583f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/github/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ impl<A: ToString> GitHub<A> {
}

fn url<S: AsRef<str>>(path: S) -> String {
format!("https://api.github.com/{}", path.as_ref())
let u = format!("https://api.github.com/{}", path.as_ref());
debug!("API URL: {}", u);
u
}
}

Expand Down

0 comments on commit e9583f5

Please sign in to comment.