From 3fa501213981bbc28042d2590ec3c2cf2659f166 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Mon, 20 Jun 2022 09:56:40 +0000 Subject: [PATCH] scripts/eddn-errors: EDMC - Put back in trap for mystery disallowed --- scripts/eddn-report-log-errors | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/eddn-report-log-errors b/scripts/eddn-report-log-errors index 82a3568..a3c77ef 100755 --- a/scripts/eddn-report-log-errors +++ b/scripts/eddn-report-log-errors @@ -91,7 +91,14 @@ def process_file(input_file: str) -> None: elif matches.group('software_name').startswith('E:D Market Connector'): # https://github.com/EDCD/EDMarketConnector/releases/latest if software_version >= semantic_version.Version.coerce('5.4.1'): - if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/fsssignaldiscovered/1': + if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/journal/1': + if matches.group('err_msg').startswith( + 'Failed Validation "[ + pass + + elif matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/fsssignaldiscovered/1': if matches.group('err_msg') == 'Failed Validation "[]"': # pass