onCustomerEvent($event, $customerId); } catch (\Throwable $e) { Log::warning('Automation event failed', [ 'event' => $event, 'customer_id' => $customerId, 'error' => $e->getMessage(), ]); } } }