fix: set tracing instrumentation level to Error

This commit is contained in:
ThetaDev 2024-08-10 00:06:56 +02:00
parent 904f8215d8
commit 9da3b25be2
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6
16 changed files with 35 additions and 35 deletions

View file

@ -632,7 +632,7 @@ impl DownloadQuery {
///
/// If no download path is set, the video is downloaded to the current directory
/// with a filename created by this template: `{track} {title} [{id}]`.
#[tracing::instrument(skip(self), fields(id = self.video.id))]
#[tracing::instrument(skip(self), level="error", fields(id = self.video.id))]
pub async fn download(&self) -> Result<DownloadResult> {
let mut last_err = None;