Details
Description
shouldActivateFailCommandFailPoint is a predicate function for FailPoint::executeIf so it should never throw an error. With the current code, the function could throw an exception if the invocation does not have a valid namespace. This line should be wrapped in a try/catch and if an exception is caught, the function should return false since we do not want to enable failCommand anyway in that case.