Rules will now fire for a store-action. And fail.

This commit is contained in:
James Cole
2016-01-13 07:30:11 +01:00
parent 98b272383f
commit 0dc74d9d14
3 changed files with 29 additions and 5 deletions

View File

@@ -60,7 +60,7 @@ class Processor
$type = $trigger->trigger_type;
$class = $this->triggerTypes[$type];
if (!class_exists($class)) {
throw new Exception('Could not instantiate class for rule trigger type "' . $type . '".');
abort(500, 'Could not instantiate class for rule trigger type "' . $type . '" ('.$class.').');
}
}