From 600059be82cb528a6b59e2003176d7c410548ade Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 11 Oct 2016 21:27:00 +0200 Subject: [PATCH] Add error output --- libimagstore/src/store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index 49abf928..0a690153 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -2683,7 +2683,7 @@ aspect = "test" { println!("Moving {:?} -> {:?}", pb, pb_moved); - assert!(store.move_by_id(pb.clone(), pb_moved.clone()).is_ok()); + assert!(store.move_by_id(pb.clone(), pb_moved.clone()).map_err(|e| println!("ERROR MOVING: {:?}", e)).is_ok()); } {