Handle packets with errors differently
This commit is contained in:
@@ -125,7 +125,7 @@ final class Receive extends Item
|
||||
ProcessPacket::dispatchSync($msg);
|
||||
}
|
||||
|
||||
if ($po->hasErrors) {
|
||||
if ($po->errors->count()) {
|
||||
Log::info(sprintf('%s: - Not deleting packet [%s], as it has validation errors',__METHOD__,$this->file));
|
||||
|
||||
// If we want to keep the packet, we could do that logic here
|
||||
|
Reference in New Issue
Block a user