ignore non-utf8 parts of header fields (add comment why it shouldn't happen)

don't throw error if no sql rows are returned
This commit is contained in:
holger krekel
2019-07-21 22:03:17 +02:00
parent 69dc237ee3
commit 10148d2e43
4 changed files with 59 additions and 56 deletions

View File

@@ -482,7 +482,8 @@ pub fn dc_msg_load_from_db<'a>(msg: *mut dc_msg_t<'a>, context: &'a Context, id:
match res {
Ok(_) => true,
Err(err) => {
error!(context, 0, "msg: load from db failed: {:?}", err);
// error!(context, 0, "msg: load from db failed: {:?}", err);
panic!("msg: load from db failed: {:?}", err);
false
}
}