more useful store_error debug (#2448)

This commit is contained in:
Yeastplume 2019-01-22 13:30:12 +00:00 committed by GitHub
parent 2072e48c15
commit be5e83ff3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ const ACCOUNT_PATH_MAPPING_PREFIX: u8 = 'a' as u8;
impl From<store::Error> for Error { impl From<store::Error> for Error {
fn from(error: store::Error) -> Error { fn from(error: store::Error) -> Error {
Error::from(ErrorKind::Backend(format!("{:?}", error))) Error::from(ErrorKind::Backend(format!("{}", error)))
} }
} }