Skip to content

Commit 6ecdf9e

Browse files
ignore app from more traces (#1225)
1 parent 79666c1 commit 6ecdf9e

File tree

1 file changed

+4
-4
lines changed
  • apps/desktop/src-tauri/src

1 file changed

+4
-4
lines changed

apps/desktop/src-tauri/src/api.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use tracing::{instrument, trace};
88

99
use crate::web_api::{AuthedApiError, ManagerExt};
1010

11-
#[instrument]
11+
#[instrument(skip(app))]
1212
pub async fn upload_multipart_initiate(
1313
app: &AppHandle,
1414
video_id: &str,
@@ -46,7 +46,7 @@ pub async fn upload_multipart_initiate(
4646
.map(|data| data.upload_id)
4747
}
4848

49-
#[instrument(skip(upload_id))]
49+
#[instrument(skip(app, upload_id))]
5050
pub async fn upload_multipart_presign_part(
5151
app: &AppHandle,
5252
video_id: &str,
@@ -180,7 +180,7 @@ pub struct PresignedS3PutRequest {
180180
pub meta: Option<S3VideoMeta>,
181181
}
182182

183-
#[instrument(skip())]
183+
#[instrument(skip(app))]
184184
pub async fn upload_signed(
185185
app: &AppHandle,
186186
body: PresignedS3PutRequest,
@@ -218,7 +218,7 @@ pub async fn upload_signed(
218218
.map(|data| data.presigned_put_data.url)
219219
}
220220

221-
#[instrument]
221+
#[instrument(skip(app))]
222222
pub async fn desktop_video_progress(
223223
app: &AppHandle,
224224
video_id: &str,

0 commit comments

Comments
 (0)