Another trace clear

This commit is contained in:
2026-06-16 18:53:33 +00:00
parent 975581093a
commit a613fdb99e
+3 -2
View File
@@ -97,14 +97,15 @@ impl Bot {
Ok(())
}
#[instrument(skip(self), fields(repo, pr))]
#[instrument(skip(self, webhook), fields(repo, pr))]
pub async fn exec(&self, webhook: WebhookType) {
match &webhook {
WebhookType::Review(p) => {
tracing::Span::current().record("repo", &p.repository.full_name);
tracing::Span::current().record("pr", p.pull_request.number);
}
}
};
let exec_result = match webhook {
WebhookType::Review(review_payload) => crate::bot_actions::review::exec_review(
&self.gitea_api,