# Put the required action into the queue.
$queue->enqueue(@action);
}
+ # If no action is returned by the Parser, the message
+ # could not be parser corretly.
+ else {
+ # Log failed parse attempt.
+ $logger->Log("err", "Error parsing event: \[$parser - @message\]");
+ }
} else {
# Sleep for 10ms until the next round of the loop will start.
sleep(0.01);