Skip to content

Commit

Permalink
bugfix: send telemetry for unpause from issues
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn committed Sep 20, 2024
1 parent 17addc8 commit 936d2e5
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions bot/src/events/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,14 +237,9 @@ impl Event {
}
};

match &self.event {
EventType::PRCommand { pr, .. } | EventType::Action { pr, .. } => {
context
.prometheus
.record_pr(&self.event, pr, &result, self.event_time);
}
_ => {}
}
context
.prometheus
.record_pr(&self.event, pr, &result, self.event_time);

send_event_to_telegram(&context.telegram, self, &result);

Expand Down

0 comments on commit 936d2e5

Please sign in to comment.