chore(ffi): Do not log errors in ClientError::from_str.

This patch stops logging errors in `ClientError::from_str` as it was an
artifact of some old debugging sessions.
This commit is contained in:
Ivan Enderlin
2026-04-20 11:03:06 +02:00
parent 9bb67e8422
commit 1bff8cbe5d
-2
View File
@@ -29,7 +29,6 @@ use ruma::{
MilliSecondsSinceUnixEpoch,
api::error::{ErrorBody, ErrorKind as RumaApiErrorKind, RetryAfter, StandardErrorBody},
};
use tracing::error;
use uniffi::UnexpectedUniFFICallbackError;
use crate::{room_list::RoomListError, timeline::FocusEventError};
@@ -44,7 +43,6 @@ pub enum ClientError {
impl ClientError {
pub(crate) fn from_str<E: Display>(error: E, details: Option<String>) -> Self {
error!("{error}");
Self::Generic { msg: error.to_string(), details }
}