mirror of
https://github.com/chatmail/core.git
synced 2026-05-19 23:06:32 +03:00
Improve the log (#2928)
We had an unhelpful log in the Testing group: - it repeatedly says "src/imap.rs:1010: dc_receive_imf error: add_parts error" but the actual error is not shown - it says "deltachat-ffi/src/lib.rs:186: dc_get_config(): invalid key" but it doesn't say what key it's trying to set
This commit is contained in:
@@ -183,7 +183,7 @@ pub unsafe extern "C" fn dc_get_config(
|
||||
.unwrap_or_default()
|
||||
.strdup(),
|
||||
Err(_) => {
|
||||
warn!(ctx, "dc_get_config(): invalid key");
|
||||
warn!(ctx, "dc_get_config(): invalid key '{}'", &key);
|
||||
"".strdup()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user