Use error! directly instead of log!

This commit is contained in:
Toby Lawrence 2019-04-26 14:21:44 -04:00
parent fe6a12330d
commit caba3089f2
No known key found for this signature in database
GPG Key ID: 3BB201B0EEE9212E
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ where
log!(level, "{}", output);
Ok(())
})
.map_err(|e| log!(Level::Error, "failed to get snapshot: {}", e))
.map_err(|e| error!("failed to get snapshot: {}", e))
})
}
}