mirror of https://github.com/Icinga/icinga2.git
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:
parent
6617214b1c
commit
6609ec647f
|
@ -250,6 +250,7 @@ void GelfWriter::CheckResultHandlerInternal(const Checkable::Ptr& checkable, con
|
||||||
Log(LogWarning, "GelfWriter")
|
Log(LogWarning, "GelfWriter")
|
||||||
<< "Ignoring invalid perfdata value: '" << val << "' for object '"
|
<< "Ignoring invalid perfdata value: '" << val << "' for object '"
|
||||||
<< checkable->GetName() << "'.";
|
<< checkable->GetName() << "'.";
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue