chore: lower log level of PR traces (#81)

* lower log level of PR traces

* clippy
This commit is contained in:
Gabriel Gordon-Hall
2025-07-07 12:08:22 +01:00
committed by GitHub
parent adf745fa54
commit de372aa42d

View File

@@ -4,7 +4,7 @@ use chrono::Utc;
use octocrab::{models::IssueState, Octocrab};
use sqlx::SqlitePool;
use tokio::{sync::RwLock, time::interval};
use tracing::{debug, error, info, warn};
use tracing::{debug, info, warn};
use uuid::Uuid;
use crate::models::{
@@ -59,7 +59,7 @@ impl PrMonitorService {
match github_token {
Some(token) => {
if let Err(e) = self.check_all_open_prs_with_token(&token).await {
error!("Error checking PRs: {}", e);
warn!("Error checking PRs: {}", e);
}
}
None => {
@@ -85,7 +85,7 @@ impl PrMonitorService {
for pr_info in open_prs {
if let Err(e) = self.check_pr_status(&pr_info).await {
error!(
warn!(
"Error checking PR #{} for attempt {}: {}",
pr_info.pr_number, pr_info.attempt_id, e
);