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

@ -31,7 +31,7 @@ struct QVideo<'a> {
impl RustyPipeQuery {
/// Get the metadata for a video
#[tracing::instrument(skip(self))]
#[tracing::instrument(skip(self), level = "error")]
pub async fn video_details<S: AsRef<str> + Debug>(
&self,
video_id: S,
@ -56,7 +56,7 @@ impl RustyPipeQuery {
}
/// Get the comments for a video using the continuation token obtained from `rusty_pipe_query.video_details()`
#[tracing::instrument(skip(self))]
#[tracing::instrument(skip(self), level = "error")]
pub async fn video_comments<S: AsRef<str> + Debug>(
&self,
ctoken: S,