mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
import_self_keys(): Log set_self_key() error as DC_EVENT_INFO
It isn't an error actually since we just skip the file.
This commit is contained in:
@@ -656,7 +656,7 @@ async fn import_self_keys(context: &Context, dir: &Path) -> Result<()> {
|
|||||||
Ok(buf) => {
|
Ok(buf) => {
|
||||||
let armored = std::string::String::from_utf8_lossy(&buf);
|
let armored = std::string::String::from_utf8_lossy(&buf);
|
||||||
if let Err(err) = set_self_key(context, &armored, set_default, false).await {
|
if let Err(err) = set_self_key(context, &armored, set_default, false).await {
|
||||||
error!(context, "set_self_key: {}", err);
|
info!(context, "set_self_key: {}", err);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user