Work around bad plugin data

This commit is contained in:
Joshua Boniface 2024-03-07 14:37:05 -05:00
parent dee8d186cf
commit 2fb7c40497
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ def getNodeHealthDetails(zkhandler, node_name, node_health_plugins):
plugin_message,
plugin_data,
) = tuple(all_plugin_data[pos_start:pos_end])
if plugin_data is None:
continue
plugin_output = {
"name": plugin,
"last_run": int(plugin_last_run) if plugin_last_run is not None else None,