fix: set tracing instrumentation level to Error

This commit is contained in:
ThetaDev 2024-08-10 00:06:56 +02:00
parent 8ecf2e61cc
commit 1bd49fc53d
16 changed files with 35 additions and 35 deletions

View file

@ -22,7 +22,7 @@ use super::{
impl RustyPipeQuery {
/// Get a playlist from YouTube Music
#[tracing::instrument(skip(self))]
#[tracing::instrument(skip(self), level = "error")]
pub async fn music_playlist<S: AsRef<str> + Debug>(
&self,
playlist_id: S,
@ -54,7 +54,7 @@ impl RustyPipeQuery {
}
/// Get an album from YouTube Music
#[tracing::instrument(skip(self))]
#[tracing::instrument(skip(self), level = "error")]
pub async fn music_album<S: AsRef<str> + Debug>(
&self,
album_id: S,