From ac687efe51fd8fa13a44121b7fc3a49ebf16e6f8 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 20 Oct 2024 11:54:52 +1100 Subject: [PATCH] When receiving a netmail without a MSGID, include that in the log --- app/Jobs/MessageProcess.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/MessageProcess.php b/app/Jobs/MessageProcess.php index cb80c29..3b0b092 100644 --- a/app/Jobs/MessageProcess.php +++ b/app/Jobs/MessageProcess.php @@ -67,7 +67,7 @@ class MessageProcess implements ShouldQueue // @todo generate exception when netmail to system that doesnt exist (node/point) and its this host's responsibility Log::info(sprintf('%s:- Processing Netmail [%s] to (%s) [%s] from (%s) [%s].', self::LOGKEY, - $this->mo->msgid, + $this->mo->msgid ?: '*NO MSGID*', $this->mo->to,$this->mo->tftn->ftn, $this->mo->from,$this->mo->fftn->ftn, ));