summaryrefslogtreecommitdiffstats
path: root/bin/domain/imag-timetrack/src/stop.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/domain/imag-timetrack/src/stop.rs')
-rw-r--r--bin/domain/imag-timetrack/src/stop.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/domain/imag-timetrack/src/stop.rs b/bin/domain/imag-timetrack/src/stop.rs
index 2eee55f5..2fc27bea 100644
--- a/bin/domain/imag-timetrack/src/stop.rs
+++ b/bin/domain/imag-timetrack/src/stop.rs
@@ -98,8 +98,7 @@ pub fn stop(rt: &Runtime) -> i32 {
}
Ok(_) => {
format!("Setting end time worked: {:?}", elem);
- let _ = rt.report_touched(elem.get_location())
- .map_err_trace_exit_unwrap(1);
+ let _ = rt.report_touched(elem.get_location()).unwrap_or_exit();
acc
}
}