From e69f7a938af2ee41ad324651617928667bb57df8 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sat, 15 Jan 2022 14:09:47 +0000 Subject: [PATCH] scripts/eddn-report: Add Moonlight/1.3.4/Scan case --- scripts/eddn-report-log-errors | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/scripts/eddn-report-log-errors b/scripts/eddn-report-log-errors index a626e23..6a87003 100755 --- a/scripts/eddn-report-log-errors +++ b/scripts/eddn-report-log-errors @@ -179,6 +179,24 @@ def process_file(input_file: str) -> None: if matches.group('software_version') == '2.0.0.660': print(line) + # + # + elif matches.group('software_name') == 'Moonlight': + if matches.group('software_version') == '1.3.4': + if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/journal/1': + if matches.group('journal_event') == 'Scan': + # Ref: + if not matches.group('err_msg').startswith( + 'Failed Validation "[