fix(tui): remove logging of tui updates
All checks were successful
Rust / build (push) Successful in 10m32s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 49s

This commit is contained in:
Paul Campbell 2024-08-27 07:20:05 +01:00
parent 95e9209e17
commit 35e3676930

View file

@ -114,14 +114,10 @@ impl RepoActor {
} }
} }
#[instrument]
fn update_tui_log(&self, log: git::graph::Log) { fn update_tui_log(&self, log: git::graph::Log) {
info!("ready to send log");
#[cfg(feature = "tui")] #[cfg(feature = "tui")]
{ {
info!("sending...");
self.update_tui(RepoUpdate::Log { log }); self.update_tui(RepoUpdate::Log { log });
info!("sent");
} }
} }
@ -152,7 +148,7 @@ impl RepoActor {
} }
impl Actor for RepoActor { impl Actor for RepoActor {
type Context = Context<Self>; type Context = Context<Self>;
#[tracing::instrument(name = "RepoActor::stopping", skip_all, fields(repo = %self.repo_details))] #[instrument(name = "RepoActor::stopping", skip_all, fields(repo = %self.repo_details))]
fn stopping(&mut self, ctx: &mut Self::Context) -> Running { fn stopping(&mut self, ctx: &mut Self::Context) -> Running {
tracing::debug!("stopping"); tracing::debug!("stopping");
info!("Checking webhook"); info!("Checking webhook");