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 {
|
||||
$matches = (bool) $expression->evaluate($rule->condition, ['study' => $study]);
|
||||
} catch (Exception $exc) {
|
||||
Log::error('Error evaluating expression', [
|
||||
Log::error('Error evaluating rule expression', [
|
||||
'rule_id' => $rule->id,
|
||||
'condition' => $rule->condition,
|
||||
'error' => $exc->getMessage(),
|
||||
|
Loading…
Reference in New Issue
Block a user