diff --git a/src/solo_turnier/reader.py b/src/solo_turnier/reader.py index c214b77..8bef531 100644 --- a/src/solo_turnier/reader.py +++ b/src/solo_turnier/reader.py @@ -48,7 +48,13 @@ class ERReader: break if found == -1: - raise Exception(f'Could not find the dance in the result file.') + self.l.warn(f'Could not find the dance {tanz} in the result file for {gruppe} ({klasse}). This might mean that the competition was not carried out.') + return { + 'gruppe': gruppe, + 'klasse': klasse, + 'tanz': tanz, + 'finalisten': [] + } pass # Extract the finalists