Improve awc error log

This commit is contained in:
spikecodes 2021-01-15 20:57:51 -08:00
parent 65543a43b2
commit 1fd688eeed

View File

@ -382,7 +382,7 @@ pub async fn request(path: &str) -> Result<Value, String> {
_ => Err((false, "Page not found".to_string())),
}
}
Err(_) => Err((false, "Couldn't send request to Reddit, this instance may be being rate-limited. Try another.".to_string())),
Err(e) => { dbg!(e); Err((false, "Couldn't send request to Reddit, this instance may be being rate-limited. Try another.".to_string())) },
}
}