minor: Silence noisy set_error log

Outside of debugging tests, it makes no sense to log this.
This commit is contained in:
Blaž Hrastnik 2024-01-24 15:31:16 +09:00
parent b606c05246
commit 6bfe1ddc53

View file

@ -1147,7 +1147,7 @@ impl Editor {
#[inline]
pub fn set_error<T: Into<Cow<'static, str>>>(&mut self, error: T) {
let error = error.into();
log::error!("editor error: {}", error);
log::debug!("editor error: {}", error);
self.status_msg = Some((error, Severity::Error));
}