Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2685701
D25737.1734702945.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
752 B
Referenced Files
None
Subscribers
None
D25737.1734702945.diff
View Options
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
@@ -680,6 +680,14 @@
->setTarget($action->getTarget())
->setRule($rule);
+ if ($object->getActionImplementation($action->getAction()) === null) {
+ phlog(pht('An exception occurred executing Herald rule %s: Unknown '.
+ 'action: "%s". Review the Herald transcripts and correct or '.
+ 'disable the problematic rule.',
+ $rule->getMonogram(),
+ $action->getAction()));
+ }
+
$name = $rule->getName();
$id = $rule->getID();
$effect->setReason(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 13:55 (20 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1018694
Default Alt Text
D25737.1734702945.diff (752 B)
Attached To
Mode
D25737: Log Herald rules with invalid actions via phlog()
Attached
Detach File
Event Timeline
Log In to Comment