Skip to content

Commit

Permalink
Remove spammy error message from version
Browse files Browse the repository at this point in the history
It's also not an error, it's expected to handle this case
  • Loading branch information
nallath committed Aug 26, 2022
1 parent 8ad41c0 commit a47ebce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion UM/Version.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def __init__(self, version: Union[str, bytes, int, "Version", List[Union[int, st
version_list[2] = re.sub(r"[A-Z]+", "", version_list[2])
version_list[4] = re.sub(r"[A-Z]+", "", version_list[4])
except IndexError as err:
Logger.error(f"Failed to parse version number from string: {err}")
pass
elif isinstance(version, list):
version_list = version # type: ignore
Expand Down

0 comments on commit a47ebce

Please sign in to comment.