• How to throw and cach Logic Hook errors/exceptions and send error messages to log/GUI?

    Hello! I just wrote my frist Logic Hook, to clean and stardise the Accounts names (Company names) with a before save hook, like this: <?php class Clean { function CleanName($bean, $event, $arguments) { $companyname = $bean->name; $companyname = ucwords…