Page MenuHomePhorge

D25735.1736911545.diff
No OneTemporary

D25735.1736911545.diff

diff --git a/src/applications/herald/engine/HeraldEngine.php b/src/applications/herald/engine/HeraldEngine.php
--- a/src/applications/herald/engine/HeraldEngine.php
+++ b/src/applications/herald/engine/HeraldEngine.php
@@ -532,8 +532,12 @@
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)

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 15, 03:25 (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1111755
Default Alt Text
D25735.1736911545.diff (761 B)

Event Timeline