mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-09-12 00:07:42 +03:00
minor: Silence noisy set_error log
Outside of debugging tests, it makes no sense to log this.
This commit is contained in:
parent
b606c05246
commit
6bfe1ddc53
@ -1147,7 +1147,7 @@ pub fn set_status<T: Into<Cow<'static, str>>>(&mut self, status: T) {
|
||||
#[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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user