diff --git a/src/applications/herald/engine/HeraldEngine.php b/src/applications/herald/engine/HeraldEngine.php index 43c3197e1a..7987301992 100644 --- a/src/applications/herald/engine/HeraldEngine.php +++ b/src/applications/herald/engine/HeraldEngine.php @@ -532,8 +532,12 @@ final class HeraldEngine extends Phobject { if ($caught) { $result_data = array( 'exception.class' => get_class($caught), - 'exception.message' => $ex->getMessage(), + 'exception.message' => $caught->getMessage(), ); + phlog(pht('An exception occurred executing Herald rule %s: "%s" Review '. + 'the Herald transcripts and correct or disable the problematic rule.', + $rule->getMonogram(), + $caught->getMessage())); } $result = HeraldConditionResult::newFromResultCode($result_code)