diff --git a/src/applications/herald/adapter/HeraldAdapter.php b/src/applications/herald/adapter/HeraldAdapter.php --- a/src/applications/herald/adapter/HeraldAdapter.php +++ b/src/applications/herald/adapter/HeraldAdapter.php @@ -431,11 +431,13 @@ $field = $this->getFieldImplementation($field_key); if (!$field) { - throw new Exception( - pht( - 'No field with key "%s" is available to Herald adapter "%s".', - $field_key, - get_class($this))); + $ex = pht( + 'No field with key "%s" is available to Herald adapter "%s".', + $field_key, + get_class($this)); + phlog(pht('An exception occurred executing a Herald rule: "%s" Review '. + 'the Herald transcripts and correct or disable the rule', $ex)); + throw new Exception($ex); } return $field;