From 70e7008f9ca708456a1dee40130469d17076c84c Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Wed, 6 Mar 2024 18:20:50 +0100 Subject: [PATCH] Reduce log level of non-solo competitions --- src/solo_turnier/html_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/solo_turnier/html_parser.py b/src/solo_turnier/html_parser.py index c465aca..01b990c 100644 --- a/src/solo_turnier/html_parser.py +++ b/src/solo_turnier/html_parser.py @@ -38,8 +38,8 @@ class HtmlParser: match = re.compile('.*?OT, Solos (.*?)(?: ".*")?').fullmatch(title) if match is None: - self.l.error('Cannot parse html title "%s". Possible bug?', title) - raise Exception(f'Cannot parse title "{title}"') + self.l.info('Cannot parse html title "%s". Is it a solo competition? Possible bug.', title) + raise Exception(f'Cannot parse title "{title}".') rest = match.group(1) rawGroup, rawClass, dance = rest.split(" ", 2)