From 75fcf3c4560b40e517646e4cfe811da542508686 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20S=C3=BCskind?= <52210599+sueskind@users.noreply.github.com> Date: Thu, 20 Apr 2023 00:07:10 +0200 Subject: [PATCH] Remove debug print to stdout in `trade` sub command (#191) Every time when the `trade` sub command is executed, the webpage gets printed to stdout which is a bit irritating and unnecessary. This PR fixes this, in that it changes the `println!` macro to a `trace!` macro. --- steamguard/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steamguard/src/lib.rs b/steamguard/src/lib.rs index 810ae6b..b2c01f3 100644 --- a/steamguard/src/lib.rs +++ b/steamguard/src/lib.rs @@ -163,7 +163,7 @@ impl SteamGuardAccount { trace!("{:?}", resp); let text = resp.text().unwrap(); trace!("text: {:?}", text); - println!("{}", text); + trace!("{}", text); return parse_confirmations(text); }