diff --git a/lib/crates/fabro-workflow/src/lifecycle/git.rs b/lib/crates/fabro-workflow/src/lifecycle/git.rs index 1e02808d0..2e34c7c38 100644 --- a/lib/crates/fabro-workflow/src/lifecycle/git.rs +++ b/lib/crates/fabro-workflow/src/lifecycle/git.rs @@ -292,14 +292,14 @@ impl RunLifecycle for GitLifecycle { error = %fabro_sandbox::display_for_log(&err), "git push from run lifecycle failed" ); - self.emitter.emit(&Event::RunNotice { - level: RunNoticeLevel::Warn, - code: "git_push_failed".to_string(), - message: format!( + self.emitter.notice_with_tail( + RunNoticeLevel::Warn, + "git_push_failed", + format!( "Failed to push run branch {branch}: {err}" ), - exec_output_tail: exec_output_tail.clone(), - }); + exec_output_tail.clone(), + ); (false, exec_output_tail) } }; @@ -1142,4 +1142,4 @@ mod tests { events.iter().map(RunEvent::event_name).collect::>() ); } -} +} \ No newline at end of file