Log processor: don't crash on unexpected EOF
@@ -936,10 +936,13 @@ class OutputData:
# Main
###########################################################################################
-def process_log(log):
+def process_log(log: InputLogInfo):
output_data = OutputData(global_config.get("outputs", {}))
+ try:
for message in messages_in_log(log):
global_chain_set.process("main", message, output_data)
+ except EOFError as e:
+ print("{}: {}".format(log.filename, e))
return output_data
