editor: drop telemetry output messages

This commit is contained in:
Dmitry Sharshakov 2021-08-23 20:22:55 +03:00
parent b5b79e3656
commit 09c994a97a
No known key found for this signature in database
GPG key ID: 471FD32E15FD8473

View file

@ -343,7 +343,12 @@ impl Application {
category, output, ..
}) => {
let prefix = match category {
Some(category) => format!("Debug ({}):", category),
Some(category) => {
if &category == "telemetry" {
return;
}
format!("Debug ({}):", category)
}
None => "Debug:".to_owned(),
};