collect all youtube errors
All checks were successful
tests / fmt (push) Successful in 33s
tests / build (push) Successful in 45s
tests / test (push) Successful in 2m20s
tests / clippy (push) Successful in 51s
tests / pre-commit (push) Successful in 53s
deploy / release-image (push) Successful in 4m48s

This commit is contained in:
2024-06-18 11:26:52 +02:00
parent ab7f56fe05
commit 1aa0efc4a6

View File

@@ -56,6 +56,7 @@ async fn get_tracks(
if stderr.contains("YouTube said: The playlist does not exist.") {
return Err("YouTube said: The playlist does not exist.".into());
}
return Err(stderr.into());
}
return Err("No tracks found".into());
}