Page MenuHomePhorge

D25735.1737163845.diff
No OneTemporary

D25735.1737163845.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
Sat, Jan 18, 01:30 (9 h, 18 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1111755
Default Alt Text
D25735.1737163845.diff (761 B)

Event Timeline