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:
iequidoo
2023-01-03 21:12:27 -03:00
committed by iequidoo
parent d644988845
commit 13b2fe8d30

View File

@@ -656,7 +656,7 @@ async fn import_self_keys(context: &Context, dir: &Path) -> Result<()> {
Ok(buf) => {
let armored = std::string::String::from_utf8_lossy(&buf);
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;
}
}