Add error output

This commit is contained in:
Matthias Beyer 2016-10-11 21:27:00 +02:00
parent 27e816fc69
commit 600059be82

View file

@ -2683,7 +2683,7 @@ aspect = "test"
{ {
println!("Moving {:?} -> {:?}", pb, pb_moved); 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());
} }
{ {