[core] A filter expression that errors should be treated as false, not true

This commit is contained in:
John Firebaugh
2018-06-28 11:18:05 -07:00
parent ca5b36ba80
commit 16a3f318a1

View File

@@ -13,7 +13,7 @@ bool Filter::operator()(const expression::EvaluationContext &context) const {
const optional<bool> typed = expression::fromExpressionValue<bool>(*result);
return typed ? *typed : false;
} else {
return true;
return false;
}
}