From 8a10ea32c896c4a61db5684213f0f52f52359d4b Mon Sep 17 00:00:00 2001 From: Andre Belafronte Date: Thu, 17 Mar 2022 17:36:24 -0300 Subject: [PATCH] =?UTF-8?q?refactor:=20adicionado=20log=20de=20modulo=20em?= =?UTF-8?q?=20AfterCronJob=20quando=20n=C3=A3o=20h=C3=A1=20rotinas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/addons/NFEioServiceInvoices/lib/Hooks/AfterCronJob.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/addons/NFEioServiceInvoices/lib/Hooks/AfterCronJob.php b/modules/addons/NFEioServiceInvoices/lib/Hooks/AfterCronJob.php index 64b7227..f8b8cc1 100644 --- a/modules/addons/NFEioServiceInvoices/lib/Hooks/AfterCronJob.php +++ b/modules/addons/NFEioServiceInvoices/lib/Hooks/AfterCronJob.php @@ -63,6 +63,9 @@ public function run() } logModuleCall('NFEioServiceInvoices', 'Hook - AfterCronJob', "{$hasNfWaiting} notas a serem geradas", $queryNf); + } else { + logModuleCall('NFEioServiceInvoices', 'Hook - AfterCronJob', "", "Nenhuma ação a ser executada"); + } }