GelfWriter: Fix crash on invalid performance data metrics

Spotted while comparing the source code of several performance data
writer.

refs #6191
This commit is contained in:
Michael Friedrich 2018-04-03 14:43:48 +02:00
parent 6617214b1c
commit 6609ec647f
1 changed files with 1 additions and 0 deletions

View File

@ -250,6 +250,7 @@ void GelfWriter::CheckResultHandlerInternal(const Checkable::Ptr& checkable, con
Log(LogWarning, "GelfWriter")
<< "Ignoring invalid perfdata value: '" << val << "' for object '"
<< checkable->GetName() << "'.";
continue;
}
}