data = $data; } public function handle(): void { if (empty($this->data['customer_email'])) { return; } try { Mail::to($this->data['customer_email']) ->send(new VmRebuildFailed($this->data)); } catch (\Throwable $e) { \Log::error('Không thể gửi email thông báo rebuild thất bại: ' . $e->getMessage(), [ 'customer_email' => $this->data['customer_email'], 'module_vmware_id' => $this->data['module_vmware_id'] ?? null, ]); } } }