FIX #35 - new rules engine
This commit is contained in:
parent
cd5a95e53c
commit
d6432ac054
@ -35,7 +35,7 @@ public static function matchStudy(array $dicomHeaders): array
|
|||||||
try {
|
try {
|
||||||
$matches = (bool) $expression->evaluate($rule->condition, ['study' => $study]);
|
$matches = (bool) $expression->evaluate($rule->condition, ['study' => $study]);
|
||||||
} catch (Exception $exc) {
|
} catch (Exception $exc) {
|
||||||
Log::error('Error evaluating expression', [
|
Log::error('Error evaluating rule expression', [
|
||||||
'rule_id' => $rule->id,
|
'rule_id' => $rule->id,
|
||||||
'condition' => $rule->condition,
|
'condition' => $rule->condition,
|
||||||
'error' => $exc->getMessage(),
|
'error' => $exc->getMessage(),
|
||||||
|
Loading…
Reference in New Issue
Block a user