diff --git a/scripts/eddn-report-log-errors b/scripts/eddn-report-log-errors index 46a0361..edd3437 100755 --- a/scripts/eddn-report-log-errors +++ b/scripts/eddn-report-log-errors @@ -177,17 +177,18 @@ def process_file(input_file: str) -> None: elif matches.group('software_name') == 'EDSM': # It's in-browser, no public source/releases - if software_version >= semantic_version.Version.coerce('1.0.1'): + if software_version >= semantic_version.Version.coerce('1.0.3'): if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/journal/1': if matches.group('journal_event') == 'Scan': - # - if not matches.group('err_msg').startswith( - 'Failed Validation "[ + if matches.group('err_msg').startswith( + 'Failed Validation "[]"' ): pass - print(matches.group('err_msg')) - print(line) + else: + print(matches.group('err_msg')) + print(line) else: print(line)