Fix error log

This commit is contained in:
spikecodes 2021-01-15 15:35:09 -08:00
parent 59021b9331
commit 3a9b2dba32

View File

@ -440,7 +440,6 @@ pub async fn request(path: &str) -> Result<Value, String> {
}
// 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())
}