summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-04-18 18:26:55 +0200
committerGitHub <noreply@github.com>2018-04-18 18:26:55 +0200
commit599f33d0b136507c2b00a7f761f401a07ef2ab27 (patch)
treedce8cf4fad7871192d9798e74a96fe3e7bd039bd
parent4568b1f625977c4af109c099dfd98ff2f371ee3c (diff)
parente29bbdb98dd3c22c12c3ad908f4132f23663aed7 (diff)
Merge pull request #1411 from matthiasbeyer/imag-view/fix-error-message
Fix: Make error message more explanatory
-rw-r--r--bin/core/imag-view/src/main.rs4
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)
})