From 3a9b2dba320a60dd88850dfe94b58c46ffdb9d54 Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Fri, 15 Jan 2021 15:35:09 -0800 Subject: [PATCH] Fix error log --- src/utils.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index 421dd69..f526f88 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -440,7 +440,6 @@ pub async fn request(path: &str) -> Result { } // If failed to send request Err(e) => { - #[cfg(debug_assertions)] dbg!(format!("{} - {}", url, e)); Err("Couldn't send request to Reddit, this instance may be being rate-limited. Try another.".to_string()) }