policies: don't log context when policy returns None
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
d5329432fe
commit
cf40e5047e
|
@ -87,7 +87,7 @@ class PolicyEvaluator(BaseEvaluator):
|
|||
LOGGER.warning(
|
||||
"Expression policy returned None",
|
||||
src=expression_source,
|
||||
req=self._context,
|
||||
policy=self._filename,
|
||||
)
|
||||
policy_result.passing = False
|
||||
if result:
|
||||
|
|
Reference in a new issue