diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-04-18 17:41:34 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-04-18 17:41:34 +0200 |
commit | e29bbdb98dd3c22c12c3ad908f4132f23663aed7 (patch) | |
tree | dce8cf4fad7871192d9798e74a96fe3e7bd039bd | |
parent | 4568b1f625977c4af109c099dfd98ff2f371ee3c (diff) |
Fix: Make error message more explanatory
-rw-r--r-- | bin/core/imag-view/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/core/imag-view/src/main.rs b/bin/core/imag-view/src/main.rs index 69bbdb00..0e5b29b6 100644 --- a/bin/core/imag-view/src/main.rs +++ b/bin/core/imag-view/src/main.rs @@ -89,7 +89,7 @@ fn main() { .into_get_iter(rt.store()) .map(|e| { e.map_err_trace_exit_unwrap(1) - .ok_or_else(|| String::from("BUG")) + .ok_or_else(|| String::from("Entry not found")) .map_err(StoreError::from) .map_err_trace_exit_unwrap(1) }) @@ -177,7 +177,7 @@ fn main() { .into_get_iter(rt.store()) .map(|e| { e.map_err_trace_exit_unwrap(1) - .ok_or_else(|| String::from("BUG")) + .ok_or_else(|| String::from("Entry not found")) .map_err(StoreError::from) .map_err_trace_exit_unwrap(1) }) |