Some debugging to catch unprocessed areafix commands

This commit is contained in:
Deon George 2024-11-07 12:31:35 +11:00
parent 21d3ff5918
commit 9762d95cef

View File

@ -74,7 +74,7 @@ final class Areafix extends Process
// If command doesnt start with %, its an area
} elseif (! str_starts_with($command[0],'%')) {
Log::debug(sprintf('%s:= Assuming command [%s] is an AREA command',self::LOGKEY,$command[0]));
Log::info(sprintf('%s:= Assuming command [%s] is an AREA command',self::LOGKEY,$command[0]));
array_unshift($command,'%AREA');
}
@ -92,6 +92,7 @@ final class Areafix extends Process
if (! class_exists($class)) {
$result->push(sprintf('%-25s <-- **COMMAND UNKNOWN**',join(' ',$command)));
Log::info(sprintf('%s:! Command UNKNOWN [%s] ',self::LOGKEY,join('|',$command)),['class'=>$class]);
continue;
}