mirror of
https://github.com/EDCD/EDDN.git
synced 2026-12-02 02:25:13 +03:00
scripts/eddn-report-log-errors: Handle non-parsable softwareVersion
This commit is contained in:
1 parent
de6551002f
commit
91c6ef0108
1 file changed
+7
-1
@@ -62,7 +62,13 @@ def process_file(input_file: str) -> None:
|
||||
# print(matches.group('sender_ip'))
|
||||
# print('')
|
||||
|
||||
software_version = semantic_version.Version.coerce(matches.group('software_version'))
|
||||
try:
|
||||
software_version = semantic_version.Version.coerce(matches.group('software_version'))
|
||||
|
||||
except ValueError as e:
|
||||
print(f"Error parsing sofwareVersion for:\n{matches.group('software_version')}\n{line}\n")
|
||||
next
|
||||
|
||||
###################################################################
|
||||
# Issues we know about and HAVE already alerted their
|
||||
# developers to.
|
||||
|
||||
Reference in new issue
Block a user