improve comments

This commit is contained in:
vms
2019-08-18 18:24:10 +02:00
parent 74d57cd408
commit c7b0472fea
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ use crate::sqlite;
pub fn query(query: &str) -> AppResult<String> {
let response = sqlite::call(query.as_bytes());
// Decode query result to a utf8 string
// Add more details to error message
String::from_utf8(response).map_err(|e| {
log::error!("unable to decode result from bytes: {:#x?}", bytes);
err_msg(&format!(