mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 16:14:09 +02:00
Merge pull request #6193 from Icinga/fix/gelfwriter-invalid-perfdata-crash
GelfWriter: Fix crash on invalid performance data metrics
This commit is contained in:
commit
d384dee204
@ -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…
x
Reference in New Issue
Block a user