more logs
This commit is contained in:
@@ -8,7 +8,7 @@ pub async fn spawn_download_task(url: &str, state: Arc<AppState>) {
|
|||||||
let url = url.to_string();
|
let url = url.to_string();
|
||||||
tokio::spawn(async move {
|
tokio::spawn(async move {
|
||||||
if let Err(e) = download_stream(&url, state).await {
|
if let Err(e) = download_stream(&url, state).await {
|
||||||
eprintln!("Download failed: {e}");
|
eprintln!("Download failed: {e:?}");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user