summaryrefslogtreecommitdiffstats
path: root/bin/domain/imag-diary/src/view.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/domain/imag-diary/src/view.rs')
-rw-r--r--bin/domain/imag-diary/src/view.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/domain/imag-diary/src/view.rs b/bin/domain/imag-diary/src/view.rs
index 5d28b412..dd1c4d66 100644
--- a/bin/domain/imag-diary/src/view.rs
+++ b/bin/domain/imag-diary/src/view.rs
@@ -42,9 +42,7 @@ pub fn view(rt: &Runtime) {
}));
let entries = entries.map(|e| {
- let _ = rt
- .report_touched(e.get_location())
- .map_err_trace_exit_unwrap(1);
+ let _ = rt.report_touched(e.get_location()).unwrap_or_exit();
e
});