Remove some low-hanging TODOs (#6839)

This commit is contained in:
Michael Vines
2019-11-08 16:41:36 -07:00
committed by GitHub
parent 151adab739
commit 9c00ad9ff2
7 changed files with 23 additions and 31 deletions

View File

@@ -438,11 +438,7 @@ pub fn set_panic_hook(program: &'static str) {
// The 'one' field exists to give Kapacitor Alerts a numerical value
// to filter on
.add_field_i64("one", 1)
.add_field_str(
"message",
// TODO: use ono.message() when it becomes stable
&ono.to_string(),
)
.add_field_str("message", &ono.to_string())
.add_field_str("location", &location)
.to_owned(),
Level::Error,