From 5c4b745c00a71af7d15e83d4a6ff679484709602 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Wed, 10 Apr 2024 11:46:51 +0100 Subject: [PATCH] feat(server): add marker info logs for advance main and next --- src/server/actors/repo/branch.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/server/actors/repo/branch.rs b/src/server/actors/repo/branch.rs index 9d11ad1..b604865 100644 --- a/src/server/actors/repo/branch.rs +++ b/src/server/actors/repo/branch.rs @@ -1,7 +1,7 @@ use actix::prelude::*; use kxio::network; -use tracing::{error, warn}; +use tracing::{error, info, warn}; use crate::server::{config, forge}; @@ -79,6 +79,7 @@ pub async fn advance_next( _net: network::Network, ) { // TODO: (#14) advance next one commit towards dev + info!("Advance Next"); addr.do_send(StartRepo); } @@ -91,5 +92,6 @@ pub async fn advance_main( _net: network::Network, ) { // TODO: (#19) advance main to next + info!("Advance Main"); addr.do_send(StartRepo); }