Don't rethrow exceptions in parse_k8s_audit_json

Callers aren't expected to catch execeptions and instead rely on the
bool return value to indicate whether or not the parsing was successful.

Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
This commit is contained in:
Mark Stemm
2019-12-09 21:14:19 -08:00
committed by Mark Stemm
parent 4c576f31f2
commit c53df3af00

View File

@@ -433,8 +433,6 @@ bool falco_engine::parse_k8s_audit_json(nlohmann::json &j, std::list<json_event>
}
catch(exception &e)
{
// Propagate the exception
rethrow_exception(current_exception());
return false;
}
}