Additional debugging for messages that fail quick validation during processing

This commit is contained in:
Deon George 2024-11-20 16:20:49 +09:30
parent 67dad76bd1
commit 6c9f4facc6

View File

@ -794,7 +794,7 @@ class Message extends FTNBase
// Quick validation that we are done
if ($ptr_content_start !== strlen($content)) {
Log::alert(sprintf('%s:! We failed parsing the message.',self::LOGKEY));
Log::alert(sprintf('%s:! We failed parsing the message start [%d] content [%d]',self::LOGKEY,$ptr_content_start,strlen($content)));
$o->msg = substr($message,0,$ptr_end);
}
}