Skip to content

Commit

Permalink
show some debug logs only on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedberg committed Oct 16, 2023
1 parent 3385f2d commit eaad4fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3379,6 +3379,7 @@ impl Wallet {
continue;
}
let consignment_res = consignment_res.unwrap();
#[cfg(test)]
debug!(
self.logger,
"Consignment GET response: {:?}", consignment_res
Expand Down Expand Up @@ -3518,6 +3519,7 @@ impl Wallet {
.rest_client
.clone()
.get_media(&proxy_url, attachment_id.clone())?;
#[cfg(test)]
debug!(self.logger, "Media GET response: {:?}", media_res);
if let Some(media_res) = media_res.result {
let file_bytes = general_purpose::STANDARD
Expand Down

0 comments on commit eaad4fd

Please sign in to comment.