collect all youtube errors
All checks were successful
All checks were successful
This commit is contained in:
@@ -56,6 +56,7 @@ async fn get_tracks(
|
|||||||
if stderr.contains("YouTube said: The playlist does not exist.") {
|
if stderr.contains("YouTube said: The playlist does not exist.") {
|
||||||
return Err("YouTube said: The playlist does not exist.".into());
|
return Err("YouTube said: The playlist does not exist.".into());
|
||||||
}
|
}
|
||||||
|
return Err(stderr.into());
|
||||||
}
|
}
|
||||||
return Err("No tracks found".into());
|
return Err("No tracks found".into());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user