summaryrefslogtreecommitdiffstats
path: root/bin/domain/imag-contact/src/create.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/domain/imag-contact/src/create.rs')
-rw-r--r--bin/domain/imag-contact/src/create.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/domain/imag-contact/src/create.rs b/bin/domain/imag-contact/src/create.rs
index a470cedc..082ed928 100644
--- a/bin/domain/imag-contact/src/create.rs
+++ b/bin/domain/imag-contact/src/create.rs
@@ -204,8 +204,7 @@ pub fn create(rt: &Runtime) {
.create_from_path(&location)
.map_err_trace_exit_unwrap(1);
- let _ = rt.report_touched(entry.get_location())
- .map_err_trace_exit_unwrap(1);
+ let _ = rt.report_touched(entry.get_location()).unwrap_or_exit();
info!("Created entry in store");
} else {