feat: add log

This commit is contained in:
VC
2023-10-04 13:59:38 +02:00
parent 328ab8ba7b
commit 54c926fd1e
4 changed files with 92 additions and 4 deletions

View File

@@ -165,10 +165,6 @@ pub fn upload_video(
.send()?;
if res.status().is_success() {
/* debug */
println!("{:?}", res.status());
println!("{:?}", res.text()?);
/* debug */
Ok(())
} else {
Err(TootubeError::new(&format!("Cannot upload video: {:?}", res.text())).into())