minor: Silence noisy set_error log

Outside of debugging tests, it makes no sense to log this.
allowlist
Blaž Hrastnik 10 months ago
parent b606c05246
commit 6bfe1ddc53

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

Loading…
Cancel
Save