From 569665a5a24d50236a65448c162292cb92f61fc7 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sat, 13 Apr 2024 21:09:35 +0200 Subject: [PATCH] debug --- src/proxy.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/proxy.rs b/src/proxy.rs index 4aa6e5b..2346f8c 100644 --- a/src/proxy.rs +++ b/src/proxy.rs @@ -128,6 +128,7 @@ impl Mirror { let status_code = response.status(); let body_bytes = response.bytes().await.ok()?; if status_code.is_success() { + log::debug!("Writing request to {save:?}"); std::fs::write(save, &body_bytes).unwrap(); } let mut http_response = HttpResponse::build(