[Skip-CI] More specific exception

merge-requests/12/head
erik 1 year ago committed by Michael Jerger
parent 82279011fa
commit 7cace08a87

@ -25,7 +25,7 @@ class FileHandler(ABC):
case '.py':
file_handler = PythonFileHandler()
case _:
raise Exception(
raise RuntimeError(
f'The file type "{config_file_type}" is not implemented')
# TODO: Attribute is only set in classmethod. Should this be initialized outside of this class?
file_handler.config_file_path = file_path

Loading…
Cancel
Save