Add missing sentry error backtrace

Clear traces spam
This commit is contained in:
qpismont committed 2026-06-16 18:49:35 +00:00
1 parent 00d46ce968
commit 975581093a
5 files changed
+18 -9

No files matched your search

+4 -4
View File
@@ -29,7 +29,7 @@ impl GiteaAPI {
})
}
#[instrument(skip(self), err)]
#[instrument(skip(self))]
pub async fn comment(
&self,
body: &str,
@@ -57,7 +57,7 @@ impl GiteaAPI {
res.json::<Comment>().await.map_err(anyhow::Error::from)
}
#[instrument(skip(self), err)]
#[instrument(skip(self))]
pub async fn edit_comment(
&self,
body: &str,
@@ -85,7 +85,7 @@ impl GiteaAPI {
Ok(())
}
#[instrument(skip(self), err)]
#[instrument(skip(self))]
pub async fn delete_comment(&self, full_name: &str, comment_id: u64) -> anyhow::Result<()> {
let url = format!(
"{}/api/v1/repos/{}/issues/comments/{}",
@@ -104,7 +104,7 @@ impl GiteaAPI {
Ok(())
}
#[instrument(skip(self, review_result), err)]
#[instrument(skip(self, review_result))]
pub async fn post_pull_request_review(
&self,
review_result: &ReviewResult,