FIX #35 - new rules engine

This commit is contained in:
Masroor Ehsan 2025-01-27 19:16:02 +06:00
parent cd5a95e53c
commit d6432ac054

View File

@ -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(),