feat(agent): harden rust worktime fallback mode

This commit is contained in:
igor04091968
2026-06-04 11:21:54 +03:00
parent ff234af701
commit d7616fd9a9
13 changed files with 491 additions and 40 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ fn run() -> Result<i32> {
}
if !cli.print_json {
if let Some(publisher) = aw_worktime.as_ref() {
if let Err(err) = publisher.publish(&record) {
if let Err(err) = publisher.publish_or_spool(&record) {
eprintln!("{err:#}");
}
}